-1
我想检查应用程序中调用哪个报告。 意思是我想知道rdlc的本地报告路径。如何知道c#中的rdlc报告中的本地报告路径
我现在使用:
reportViewer.LocalReport.ReportPath = reportpath;
但I'mm收到错误,如:
一个错误的本地报表处理过程中发生
我想检查应用程序中调用哪个报告。 意思是我想知道rdlc的本地报告路径。如何知道c#中的rdlc报告中的本地报告路径
我现在使用:
reportViewer.LocalReport.ReportPath = reportpath;
但I'mm收到错误,如:
一个错误的本地报表处理过程中发生
试试这个
ReportViewer1.LocalReport.DataSources.Add(reportDataset);
ReportViewer1.LocalReport.ReportPath = Server.MapPath("Reports/RPT_Reports.rdlc");
不适合我。 – Sam
检查你的报告参数 –
提供了关于你的环境的更多信息,reportpath的内容是什么, 我假设路径应该是相对于你的appdomain的 你设置了reportViewer.ProcessingMode = ProcessingMode.Local; ? – DotNetDev