Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我们如何设置.Net的reportviewer的参数?
List<ReportParameter> paramList = new List<ReportParameter>(); paramList.Add(new ReportParameter("ClientName", clientName, false)); TheReportObject.LocalReport.SetParameters(paramList);
而且您必须确保在报告定义中也定义了相同的命名参数。