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.LayDiemChiTietHocSinhTheoMon(maHS, maHocKy, maNamHoc); } }
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.LayDiemChiTietHocSinhTheoMon(maHS, maHocKy, maNamHoc); } }