DotNetNuke水晶报告

DotNetNuke水晶报告,dotnetnuke,Dotnetnuke,我是DOTNETNUKE新手,在向模块添加crystal report时遇到了一些小问题。我使用的是VS 2008 crystal Reports扩展。 我创建了一个模块来显示crystal report,但是在用户控件的代码隐藏中crystal report类不可见 CrystalReport2 rpt=新的CrystalReport2() rpt.SetDataSource(dt) CrystalReportViewer1.ReportSource=objRpt CrystalReport2

我是DOTNETNUKE新手,在向模块添加crystal report时遇到了一些小问题。我使用的是VS 2008 crystal Reports扩展。 我创建了一个模块来显示crystal report,但是在用户控件的代码隐藏中crystal report类不可见

CrystalReport2 rpt=新的CrystalReport2() rpt.SetDataSource(dt)
CrystalReportViewer1.ReportSource=objRpt

CrystalReport2未识别。但是CrystalReportViewer1在设计模式下正确显示了报告格式。如何创建crystal报表对象? 请帮忙

谢谢,


kushira.

您是否已将imports/using语句添加到CR引用的代码中?

谢谢。但是我已经试过了,但是没有用。无论如何,我通过不使用模板开发模块来完成这项工作。