-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