将大量数据绑定到CrystalReportViewer [英] Bind large amount of data to CrystalReportViewer

查看:69
本文介绍了将大量数据绑定到CrystalReportViewer的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的水晶报告有问题.我正在获取大量数据并将相同的数据绑定到我的报告中,大约有20,000页.在报表中显示我的第一页花了很多时间.

我怎么解决这个问题?绑定所有数据是强制性的.

请帮助...
在此先感谢

I have a problem in my crystal report. I am fetching large amount of data and binding the same data to my report, around 20,000 pages are there. It''s taking lot of time to display my first page in report.

How can I solve this problem? It''s mandatory to bind all data.

Kindly help...
Thanks in advance

推荐答案

20000页?(我认为有20000条记录):omg:

我从来没有在Crystal报表中加载过这么多页面,IMO并不建议这样做.根据选择标准加载较少的数据.

这里有一些关于双方表现的建议

数据库端
在SQL Server中优化数据访问的十大步骤:第一部分(使用索引编制) [ ^ ]
在SQL Server中优化数据访问的十大步骤:第二部分(重构TSQL并应用最佳实践) [ ^ ]
在SQL Server中优化数据访问的十大步骤:第三部分(应用高级索引和非规范化) [ ^ ]
在SQL Server中优化数据访问的十大步骤:第四部分(诊断数据库性能问题) [ ^ ]
在SQL Server中优化数据访问的十大步骤:第五部分(优化数据库文件并应用分区) [ ^ ]

水晶报道方
报表分析器:优化Crystal报表 [ ^ ]
优化报告效果 [优化Crystal报表 [ ^ ]
Crystal Reports使用.NET C#缓慢加载(SetDataSource) [ ^ ]

希望这些对您有帮助.
20000 pages?(I thought 20000 records) :omg:

I never loaded that much pages in Crystal reports, IMO that''s not suggestible. Load less data based on selection criteria.

Here some suggestions regarding the performance on both sides

Database side
Top 10 steps to optimize data access in SQL Server: Part I (use indexing)[^]
Top 10 steps to optimize data access in SQL Server: Part II (Re-factor TSQL and apply best practices)[^]
Top 10 steps to optimize data access in SQL Server: Part III (Apply advanced indexing and denormalization)[^]
Top 10 steps to optimize data access in SQL Server: Part IV (Diagnose database performance problems)[^]
Top 10 steps to optimize data access in SQL Server: Part V (Optimize database files and apply partitioning)[^]

Crystal reports side
Report Analyzer: Optimize Crystal Reports[^]
Optimizing Report Performance[^]
Optimizing Crystal Reports[^]
Crystal Reports Slow Load Using .NET C# ( SetDataSource )[^]

Hope these will help you.


这篇关于将大量数据绑定到CrystalReportViewer的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆