using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using DevExpress.XtraReports.UI;

using System.Data;
using ABC.File;

namespace ABC.Report
{
    public partial class T_ct_kh1_bom : DevExpress.XtraReports.UI.XtraReport
    {
        public T_ct_kh1_bom()
        {
            InitializeComponent();
            lbngay.Text = Get_CauHinh.ch1kh_ngay;
            lbkh.Text = "Khách Hàng : " + Get_CauHinh.ch1kh_kh;
            lbnocu.Text = Get_CauHinh.ch1kh_nocu;
            lbtienhang.Text = Get_CauHinh.ch1kh_tongtienhang;
            lbthanhtoan.Text = Get_CauHinh.ch1kh_thanhtoan;
            lbconlai.Text = Get_CauHinh.ch1kh_conlai;
            lbnocutext.Text = "Nợ Cũ : " + Get_CauHinh.ch1kh_nocu;
           // Detail.SortFields.Add(new GroupField("Ngay_Num", XRColumnSortOrder.Ascending));
            //lbgc.Text = chitietreport.gc;
            #region
            DataView dtv = new DataView(Get_CauHinh.RE);
            dtv.RowFilter = "STT = 13";
            txtten.Text = dtv[0]["TIEUDE"].ToString();
            txtdienthoai.Text = dtv[0]["DT"].ToString();
            txtdiachi.Text = dtv[0]["DC"].ToString();
            #endregion


        }

    }
}
