简体   繁体   中英

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.

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");

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM