Example #1
0
        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"];
            }
        }
Example #2
0
 private void GetLoaiQuy()
 {
     pTC_QuyHocBongInfo.TC_QuyHocBongID = 0;
     dtLoaiQuy = oBTC_QuyHocBong.Get(pTC_QuyHocBongInfo);
     grdQuyHocBong.DataSource = dtLoaiQuy;
 }