Пример #1
0
        private void LoadDSKhoaHoc()
        {
            List <KhoaHoc_DTO> lsKhoaHoc = new List <KhoaHoc_DTO>();

            lsKhoaHoc = khBUS.DanhSachKH();
            dgcontrol_khoaHoc.DataSource = lsKhoaHoc;
        }
Пример #2
0
        private void LoadDSKhoaHoc()
        {
            lsKhoaHoc = new List <KhoaHoc_DTO>();
            lsKhoaHoc = khBUS.DanhSachKH();

            lke_makh.Properties.DataSource    = lsKhoaHoc;
            lke_makh.Properties.DisplayMember = "MaKH";
            lke_makh.Properties.ValueMember   = "MaKH";
        }
Пример #3
0
        private void LoadDSKhoaHoc()
        {
            lsKhoaHoc = new List <KhoaHoc_DTO>();
            lsKhoaHoc = khBUS.DanhSachKH();

            lke_khoaHoc.Properties.DataSource    = lsKhoaHoc;
            lke_khoaHoc.Properties.DisplayMember = "MaKH";
            lke_khoaHoc.Properties.ValueMember   = "MaKH";

            //lke_khoaHoc.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("MaKH", "Mã Khóa Học", 10));
            //lke_khoaHoc.Properties.Columns.Add(new DevExpress.XtraEditors.Controls.LookUpColumnInfo("TenKH", "Tên Khóa Học", 20));
        }
Пример #4
0
        private void LoadDSKhoaHoc()
        {
            KhoaHoc_BUS khBUS = new KhoaHoc_BUS();
            KhoaHoc_DTO khDTO = new KhoaHoc_DTO();

            lsKhoaHoc = khBUS.DanhSachKH();


            //cbo_khoaHoc.DataSource = lsKhoaHoc;
            //cbo_khoaHoc.DisplayMember = "TenKH";
            //cbo_khoaHoc.ValueMember = "MaKH";

            //cbo_searchKhoaHoc.DataSource = lsKhoaHoc;
            //cbo_searchKhoaHoc.DisplayMember = "TenKH";
            //cbo_searchKhoaHoc.ValueMember = "MaKH";
        }