初学者一个问题,困惑,望帮助解决
using CrystalDecisions.CrystalReports.Engine;
上面语句,编译过不了,说是无法找到这个东西(CrystalDecisions)
是不是报表第三方插件,什么的,如果是从哪里找或者下载.
------解决方案-------------------- <assemblies>
<add assembly= "System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A "/>
<add assembly= "System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089 "/>
<add assembly= "CrystalDecisions.Web, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 "/>
<add assembly= "CrystalDecisions.Shared, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 "/>
<add assembly= "CrystalDecisions.ReportSource, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 "/>
<add assembly= "CrystalDecisions.Enterprise.Framework, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 "/>
<add assembly= "CrystalDecisions.Enterprise.Desktop.Report, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 "/>
<add assembly= "CrystalDecisions.CrystalReports.Engine, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 "/>
<add assembly= "CrystalDecisions.Enterprise.InfoStore, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692FBEA5521E1304 "/> <add assembly= "CrystalDecisions.ReportAppServer.ClientDoc, Version=10.2.3600.0, Culture=neutral, PublicKeyToken=692fbea5521e1304 "/> </assemblies>
<location allowOverride= "true " inheritInChildApplications= "true ">
<appSettings>
<add key= "CrystalImageCleaner-AutoStart " value= "true " />
<add key= "CrystalImageCleaner-Sleep " value= "60000 " />
<add key= "CrystalImageCleaner-Age " value= "120000 " />
</appSettings>
</location>
------解决方案--------------------最简单的方法,在页面上拖放一个CrystalReportViewer
------解决方案--------------------水晶报表,.net有自带的.
如果你的项目没有用到水晶报表,那么那它删除了.
如果有的话,添加引用把它添进来
------解决方案--------------------水晶报表,详查MSDN
可在通过在项目里头添加新的报表文件来创建报表
通过CrystalReportViewer来显示