我希望我的水晶報告,如果項目移動到另一個文件夾,保持工作而不更改代碼。現在多數民衆贊成在我的WinForm路徑水晶報告c#
ReportDocument cryRpt = new ReportDocument();
string reportPath = Path.Combine(Environment.CurrentDirectory, "CrystalReport1.rpt");
cryRpt.Load(reportPath);
crystalReportViewer1.ReportSource = cryRpt;
crystalReportViewer1.Refresh();
這意味着代碼:不支持的操作。無法打開由JRC引擎堆棧編寫的文檔C++
該代碼心不是工作,我得到的報告心不是加載錯誤。 – Kiirito