示例#1
0
 private void LoadGiaoVien(int IDDonVi)
 {
     pGiaoVienInfo.IDNS_DonVi = IDDonVi;
     dtGiaoVien             = oBGiaoVien.GetByIDNS_DonVi(IDDonVi);
     grdGiaoVien.DataSource = dtGiaoVien;
     grvGiaoVien_FocusedRowChanged(null, null);
 }
示例#2
0
        private void GetData()
        {
            dtNhom = LoadNhomNguoiDung();
            if (dtNhom != null)
            {
                cmbNhom.Properties.DataSource = dtNhom;
            }

            dtGiaoVien = oBNS_GiaoVien.GetByIDNS_DonVi(0);
            if (dtGiaoVien != null)
            {
                cmbGiaoVien.Properties.DataSource = dtGiaoVien;
            }

            pHT_UserInfo.HT_UserID = 0;
            dtNguoiDung            = oBHT_User.Get(pHT_UserInfo);
            if (dtNguoiDung != null)
            {
                grdNguoiDung.DataSource = dtNguoiDung;
            }
        }
示例#3
0
 private void LoadGiaoVien(int IDDonVi)
 {
     pGiaoVienInfo.IDNS_DonVi = IDDonVi;
     dtGiaoVien             = oBGiaoVien.GetByIDNS_DonVi(IDDonVi);
     grdGiaoVien.DataSource = dtGiaoVien;
 }