设置RDLC报表参数
作者:互联网
原文链接:http://www.cnblogs.com/JoeDZ/archive/2009/06/29/1513042.html
报表有两个参数 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 });
转载于:https://www.cnblogs.com/JoeDZ/archive/2009/06/29/1513042.html
标签:www,报表,RDLC,ReportParameter,para2,para1,参数,new,archive 来源: https://blog.csdn.net/weixin_30520015/article/details/98605066