Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public frmReport(string ReportFileName, DataTable Table, ReportParameter[] Params)
- : this() {
- rvMain.LocalReport.DataSources.Add(new ReportDataSource("DataSet1_" + Table.TableName, Table));
- rvMain.ZoomMode = ZoomMode.FullPage;
- rvMain.LocalReport.ReportPath = ReportFileName;
- rvMain.LocalReport.SetParameters(Params);
- rvMain.SetDisplayMode(DisplayMode.PrintLayout);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement