Esempio n. 1
0
 private void DanhSachLop_Load(object sender, EventArgs e)
 {
     lops = bus.GetDanhSachLop();
     dataGridViewDS_Lop.DataSource = lops;
     textBoxtenGVCN.Text           = bus.GetTenGiaoVien(dataGridViewDS_Lop.CurrentRow.Cells[0].Value.ToString());
     comboBoxKhoaHoc.DataSource    = bus.GetDanhSachKhoaHoc();
 }
Esempio n. 2
0
        private void DanhSachLop_Load(object sender, EventArgs e)
        {
            lops = bus.GetDanhSachLop();
            dataGridViewDS_Lop.DataSource = lops;
            ReName();
            textBoxtenGVCN.Text = bus.GetTenGiaoVien(dataGridViewDS_Lop.CurrentRow.Cells[0].Value.ToString());
            List <string> danhSachKhoaHoc = bus.GetDanhSachKhoaHoc();

            danhSachKhoaHoc.Insert(0, "None");
            comboBoxKhoaHoc.DataSource = danhSachKhoaHoc;
        }