コード例 #1
0
 private void cboLop_EditValueChanged(object sender, EventArgs e)
 {
     if (cboLop.Text != null)
     {
         bindingSourceDiemTongKet.DataSource = HOCTAP_BUS.LayDiemHocSinhTheoLop(cboLop.EditValue.ToString());
     }
     else
     {
         bindingSourceDiemTongKet.DataSource = null;
     }
 }
コード例 #2
0
 public rpDanhSachHocSinh(string tenNamHoc, string tenLop, string maLop)
 {
     InitializeComponent();
     foreach (DevExpress.XtraReports.Parameters.Parameter p in Parameters)
     {
         p.Visible = false;
     }
     pNamHoc.Value  = tenNamHoc;
     pLop.Value     = tenLop;
     pNgayLap.Value = DateTime.Today;
     bindingSourceDiemTongKet.DataSource = HOCTAP_BUS.LayDiemHocSinhTheoLop(maLop);
 }