我创建了一个winform,它将在水晶报表查看器中显示水晶报表 . 进度微调器停止后,我一直收到以下错误 .
这是我的代码:
ReportDocument cryRpt = new ReportDocument(); cryRpt.Load(filePath); rptViewerFinan.ReportSource = cryRpt; rptViewerFinan.Refresh();
当我直接在水晶报表中打开.rpt文件时,它工作正常 . 有人可以帮我这个吗?