Ejemplo n.º 1
0
 private void btnXemDiem_Click(object sender, EventArgs e)
 {
     if (cboHocSinh.Text != "" && cboHocKy.Text != "" && cboNamHoc.Text != "")
     {
         string maHS     = cboHocSinh.EditValue.ToString();
         string maHocKy  = cboHocKy.EditValue.ToString();
         string maNamHoc = cboNamHoc.EditValue.ToString();
         bindingSourceDiemChiTiet.DataSource = HOCTAP_BUS.LayDiemChiTietHocSinh(maHS, maHocKy, maNamHoc);
     }
 }
Ejemplo n.º 2
0
 private void load_BangDiem()
 {
     if (cboHocSinh.Text != "" && cboHocKy.Text != "" && cboNamHoc.Text != "")
     {
         string maHS     = cboHocSinh.EditValue.ToString();
         string maHocKy  = cboHocKy.EditValue.ToString();
         string maNamHoc = cboNamHoc.EditValue.ToString();
         bindingSourceDiemChiTiet.DataSource = HOCTAP_BUS.LayDiemChiTietHocSinh(maHS, maHocKy, maNamHoc);
     }
 }