private void LoadGiaoVien(int IDDonVi) { pGiaoVienInfo.IDNS_DonVi = IDDonVi; dtGiaoVien = oBGiaoVien.GetByIDNS_DonVi(IDDonVi); grdGiaoVien.DataSource = dtGiaoVien; grvGiaoVien_FocusedRowChanged(null, null); }
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; } }
private void LoadGiaoVien(int IDDonVi) { pGiaoVienInfo.IDNS_DonVi = IDDonVi; dtGiaoVien = oBGiaoVien.GetByIDNS_DonVi(IDDonVi); grdGiaoVien.DataSource = dtGiaoVien; }