[英]How to know local report path in rdlc report in c#
I want to check which Report is calling in the application.我想检查应用程序中调用的是哪个报告。 Means I want to know the local report path of the rdlc.
意思是我想知道rdlc的本地报告路径。
I am using now:我现在正在使用:
reportViewer.LocalReport.ReportPath = reportpath;
But I'mm getting Error like:但我收到错误,如:
An Error Occur during Local Report Processing
本地报表处理出错
reportViewer1.LocalReport.ReportEmbeddedResource = "YourWindowsFormsCSharpProject.ReportsFolder.Report1.rdlc";
try this尝试这个
ReportViewer1.LocalReport.DataSources.Add(reportDataset);
ReportViewer1.LocalReport.ReportPath = Server.MapPath("Reports/RPT_Reports.rdlc");
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.