Crystal reports 未指定报告名称--Crystal Report RAS 9
crystal reports抛出错误“未指定报告名称” 我正在使用Crystal reports 未指定报告名称--Crystal Report RAS 9,crystal-reports,Crystal Reports,crystal reports抛出错误“未指定报告名称” 我正在使用 RAS 9 ParameterField.asp ActivexViewer.asp asp(它不会获取此文件中的reportname) 非常感谢您的帮助。尝试在中添加标记,如下所示: <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" ReportSourceID="CrystalReportSourc
中添加
标记,如下所示:
<CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="True" ReportSourceID="CrystalReportSource1" />
<CR:CrystalReportSource ID="CrystalReportSource1" runat="server">
<Report FileName="CrystalReport.rpt">
</Report>
</CR:CrystalReportSource>
ReportDocument reportdocument = new ReportDocument();
reportdocument.Load(Server.MapPath("CrystalReport.rpt"));
reportdocument.SetDatabaseLogon("Username","Password","Server","Database");
CrystalReportViewer1.ReportSource = reportdocument;
不知道代码就很难理解错误。一点代码对更好地回答问题更有帮助。