设置RDLC报表参数
报表有两个参数 para1,para2,设置两参数的值:
ReportParameter para1 = new ReportParameter("paraName1", paraValue1);
ReportParameter para2 = new ReportParameter("paraName2", paraValue2);
reportViewer.LocalReport.SetParameters(new ReportParameter[] { para1,para2 });
ReportParameter para1 = new ReportParameter("paraName1", paraValue1);
ReportParameter para2 = new ReportParameter("paraName2", paraValue2);
reportViewer.LocalReport.SetParameters(new ReportParameter[] { para1,para2 });