예제 #1
0
 private void DanhSachGV1Lop_Load(object sender, EventArgs e)
 {
     //Load dữ liệu lên cmb.
     cmbLop.DataSource    = lopBUS.All();
     cmbLop.DisplayMember = "TenLop";
     cmbLop.ValueMember   = "MaLop";
     // TODO: This line of code loads data into the 'dsGiaoVienLopDataSet.dsGiaoVienLop' table. You can move, or remove it, as needed.
 }
예제 #2
0
 private void QuanLyHoSoHocSinh_Load(object sender, EventArgs e)
 {
     dgvHSHS.DataSource   = hshsBUS.All();
     cmbLop.DataSource    = lopBUS.All();
     cmbLop.DisplayMember = "TenLop";
     cmbLop.ValueMember   = "MaLop";
     XoaDuLieuForm();
 }
예제 #3
0
 private void QuanLyLopGUI_Load(object sender, EventArgs e)
 {
     //Load dữ liệu lớp lên cmb.
     dgvDSLop.DataSource   = lopBus.All();
     cmbGVCN.DataSource    = cbgvBUS.AllGiaoVien();
     cmbGVCN.DisplayMember = "HoTen";
     cmbGVCN.ValueMember   = "MaCanBoGiaoVien";
     XoaDuLieuForm();
 }
예제 #4
0
 private void PhanCongGiangDayGUI_Load(object sender, EventArgs e)
 {
     //Load dữ liệu lên form.
     dgvDSPhanCongGiangDay.DataSource = pcgdBUS.All();
     cmbTenLop.DataSource             = lopBUS.All();
     cmbTenLop.DisplayMember          = "TenLop";
     cmbTenLop.ValueMember            = "MaLop";
     cmbMonHoc.DataSource             = monHocBUS.All();
     cmbMonHoc.DisplayMember          = "TenMon";
     cmbMonHoc.ValueMember            = "MaMon";
     cmbTenGV.DataSource    = cbgvBUS.AllGiaoVien();
     cmbTenGV.DisplayMember = "HoTen";
     cmbTenGV.ValueMember   = "MaCanBoGiaoVien";
 }