private void LoadCombo() { cmbHe.Properties.DataSource = LoadHe(); cmbTrinhDo.Properties.DataSource = LoadTrinhDo(); DataTable dtTemp = oBTC_QuyHocBong.Get(pTC_QuyHocBongInfo); cmbLoaiQuy.Properties.DataSource = dtTemp; if (dtTemp != null && dtTemp.Rows.Count > 0) { cmbLoaiQuy.EditValue = dtTemp.Rows[0]["TC_QuyHocBongID"]; } }
private void GetLoaiQuy() { pTC_QuyHocBongInfo.TC_QuyHocBongID = 0; dtLoaiQuy = oBTC_QuyHocBong.Get(pTC_QuyHocBongInfo); grdQuyHocBong.DataSource = dtLoaiQuy; }