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