以前用VS2003下的速度还可以。
现在用VS2008里面,要2分钟。
主要在调用Load方法的时候慢。
另外:有人可能会认为是查询数据库慢,但是表中仅仅有一条数据,所以这种可能性排除。另外:asp.net中的打印有其他好的方案吗?我们的系统需要能够快速打印票据。

解决方案 »

  1.   

    要选择水晶报表,就得忍受第一次加载巨慢的痛苦.当然也有办法加快加载. 这是国外的一些建议
    some other place in application, create a background process which would create CR document object, load some not essential report file, retrieve some data and then disapear without the trace. This would allow Crystal Reports Engine being initialized in the background offsetting time needed for the actual CR related page load. Don’t force garbage collection though, this may cancel desired effect.http://blog.dragonsoft.us/2009/09/23/crystal-reports-2008-and-asp-net-speed-up-first-session/
      

  2.   


    看看,不用水晶报表了。
    用Devexpress report,但是这个东西导出到Pdf进行打印的时候速度比水晶报表快很多。
    但是数据量大点的时候导出到pdf比导出到excel慢很多。
    我是用pdf来打印的。