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