我在Crystal Report中遇到了问题 - 错误消息:加载报告失败

时间:2010-05-26 20:04:04

标签: asp.net crystal-reports c#-3.0

我在Crystal Report中遇到了问题 - 错误信息:加载报告失败。如何解决这个问题??。

2 个答案:

答案 0 :(得分:2)

您可以在DataBinding和Navigate方法中调用报表上的show data。

protected void CrystalReportViewer1_DataBinding(object sender, EventArgs e)
{
    this.ShowReportData();
}  

protected void CrystalReportViewer1_Navigate(object source,  CrystalDecisions.Web.NavigateEventArgs e)
{
    this.ShowReportData();
}

答案 1 :(得分:1)

如果你的报告运行了一段时间然后摔倒,请确保你将其弃置.......

if(myReport != null)
{
    myReport .Close();
    myReport .Dispose();
}