private void frptDanhSachGiaoVien_Load(object sender, EventArgs e) { IList <ReportParameter> param = new List <ReportParameter>(); QuyDinhInfo m_ThongTinTruong = QuyDinh.LayThongTinTruong(); param.Add(new ReportParameter("TenTruong", m_ThongTinTruong.TenTruong)); param.Add(new ReportParameter("DiaChiTruong", m_ThongTinTruong.DiaChiTruong)); param.Add(new ReportParameter("NgayLap", DateTime.Today.Day + "/" + DateTime.Today.Month + "/" + DateTime.Today.Year)); this.reportViewerDSGV.LocalReport.SetParameters(param); IList <GiaoVienInfo> giaovien = GiaoVienCtrl.LayDsGiaoVien(); this.bSDSGiaoVien.DataSource = giaovien; this.reportViewerDSGV.RefreshReport(); }