在2010年在Winforms中的Crystal Reports上加载大数据 [英] Loading Large data on Crystal Reports in winforms in 2010

查看:75
本文介绍了在2010年在Winforms中的Crystal Reports上加载大数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个应用程序,其中我在Crystal报表上显示大量数据,但是该报表要花费太多时间来加载所有记录,如何才能最大程度地减少在报告中或在一两秒钟内加载整个记录的时间.

在此先谢谢您.

I have a application in which i show large amount of data on crystal reports but the report is taking too much time to load all records, how can i minimize the time for loading whole record on the report or in a second or two.

Thanks in advance.

推荐答案

如果您的报告需要显示所有数据,那么除了做显而易见的事情之外,实际上没有其他方法可以加快它的工作-为数据库建立索引表和优化查询.但是,如果要显示的是数据的子集,则可能需要编写一个查询,该查询仅将所需的数据集作为存储过程来获取,并将其用作数据源.

HTH
If your report needs to display all the data, then there is really no way you can speed it up beyond doing the obvious - indexing your DB tables and optimizing queries. However, if it is a subset of data that you want to display, you may want to write a query that will only fetch the required data set as a stored procedure and use that as your data source.

HTH


这篇关于在2010年在Winforms中的Crystal Reports上加载大数据的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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