示例#1
0
 private void cmbLop_EditValueChanged(object sender, EventArgs e)
 {
     if (cmbLop.EditValue != null)
     {
         IDDM_Lop              = int.Parse(cmbLop.EditValue.ToString());
         dtDaNhapHoc           = oBSV_NhapHocLai.GetSinhVien(IDDM_Lop);
         grdNhapHoc.DataSource = dtDaNhapHoc;
     }
 }
示例#2
0
 private void dlgApDungAnhXaMon_Load(object sender, EventArgs e)
 {
     dtDaNhapHoc = oBSV_NhapHocLai.GetSinhVien(int.Parse(dr["IDDM_LopMoi"].ToString()));
     dtDaNhapHoc.DefaultView.RowFilter = "SV_SinhVienID not in (" + dr["SV_SinhVienID"].ToString() + ")";
     grdNhapHoc.DataSource             = dtDaNhapHoc.DefaultView;
 }