Reputation: 11
I want to check which Report is calling in the application. Means I want to know the local report path of the rdlc.
I am using now:
reportViewer.LocalReport.ReportPath = reportpath;
But I'mm getting Error like:
An Error Occur during Local Report Processing
Upvotes: 0
Views: 7605
Reputation: 1071
reportViewer1.LocalReport.ReportEmbeddedResource = "YourWindowsFormsCSharpProject.ReportsFolder.Report1.rdlc";
Upvotes: 3
Reputation: 272
try this
ReportViewer1.LocalReport.DataSources.Add(reportDataset);
ReportViewer1.LocalReport.ReportPath = Server.MapPath("Reports/RPT_Reports.rdlc");
Upvotes: 0