有没有办法检索我们使用设置的本地参数
this.reportViewer1.LocalReport.SetParameters(new ReportParameter("UserComments", _userComments));
谢谢
最佳答案
没有必要使用 LINQ。这更干净、更快(并且适用于 .Net 3.5 之前的版本):
reportViewer1.LocalReport.GetParameters()["UserComments"].Values[0];
关于c# - .NET从本地报告读取ReportParameter,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/5043220/