0
水晶報告將引發錯誤「未指定報告名稱」。未指定報告名稱 - 水晶報告RAS 9
我使用
- RAS 9
- ParameterField.asp
- ActivexViewer.asp
- rptserver.asp(它不是抓住REPORTNAME在此文件)
幫助非常感謝。
水晶報告將引發錯誤「未指定報告名稱」。未指定報告名稱 - 水晶報告RAS 9
我使用
幫助非常感謝。
嘗試添加<Report>
標籤在<CrystalReportViewer>
這樣的:
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" ReportSourceID="CrystalReportSource1" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CrystalReport.rpt">
</Report>
</CR:CrystalReportSource>
OR
動態添加水晶報表來源是這樣的:
ReportDocument reportdocument = new ReportDocument();
reportdocument.Load(Server.MapPath("CrystalReport.rpt"));
reportdocument.SetDatabaseLogon("Username","Password","Server","Database");
CrystalReportViewer1.ReportSource = reportdocument;
這是很難理解的錯誤不知道代碼。一些代碼可以更好地回答問題。 – hims056 2012-08-07 07:01:15