/// <summary> /// Load lại GridControl học sinh /// </summary> private void LoadLai_GridControl_HocSinh(bool chuaPhanLop = false) { if (chuaPhanLop) { gridControlDSHocSinh.DataSource = _hocSinhBUS.LayDT_HocSinh("", true); } else { gridControlDSHocSinh.DataSource = _hocSinhBUS.LayDT_HocSinh( CboUtil.GetValueItem(comboBoxEditLop) ); } if (gridViewDSHocSinh.RowCount > 0) { object maHocSinh = gridViewDSHocSinh.GetRowCellValue(0, "MaHocSinh").ToString(); HienThiHoSoHocSinh(maHocSinh); } _Diable_Control(isAdding: false); }
private void _LoadGridcontrolDSHocSinhMoi() { gridControlDSHocSinhMoi.DataSource = _hocSinhBUS.LayDT_HocSinh( CboUtil.GetValueItem(comboBoxEditLopMoi) ); }