public void ReportRender(int ckid) { ReportDataSource ds = new ReportDataSource() { Name = "ChuKyDanhGia", Value = RepositoryReport.GetChuKyDanhGiaReport(ckid) }; // ReportViewer1.LocalReport.DataSources.Clear(); // ReportViewer1.LocalReport.DataSources.Add(ds); // ReportViewer1.LocalReport.Refresh(); }
protected void ReportRender(int vaitroid, int bophanId) { ReportDataSource ds = new ReportDataSource() { Name = "ThongTinNhanVien", Value = RepositoryReport.GetThongTinNhanVien(vaitroid, bophanId) }; ReportViewer1.LocalReport.DataSources.Clear(); ReportViewer1.LocalReport.DataSources.Add(ds); ReportViewer1.LocalReport.Refresh(); }