SAP Crystal Report Viewer" NullReferenceException"

时间:2016-01-22 17:12:34

标签: c# crystal-reports

我从这里成功安装了SAP Crystal Reports:https://scn.sap.com/docs/DOC-7824(支持包15)。我将CrystalReportViewer拖放到我的表单并添加了一个新的CrystalReport。我在报告文档中添加了两个日期字段。但是如果我启动我的应用程序,我只看到一个空窗口,虽然visual studio中的预览显示了报表查看器。如果我试图通过以下方式使其可见:

crystalReportViewer1.Show();

我得到" NullReferenceException" on" crystalReportViewer1"?我使用Visual Studio 2015 Enterprise和.NET 4.0。

http://www.fotos-hochladen.net/view/crystalreportx53jkyu6gv.png

http://www.fotos-hochladen.net/view/crystalreportviyxsm9io0wl.png

0 个答案:

没有答案
相关问题