开发者

Errors with large data sources

I'm doing some benchmarking on large data sources and binding/exporting data for reporting.

I started with using a data set, filling it with 100000 rows and then attempting to open a crystal report with the retrieved data. I noticed that the data set filled just fine (took about 779 milliseconds) however, when attempting to export the data to the report or even bind to a gridview the application would fail with an OutOfMemoryException.

Does anyone experienced this before or have an idea of how to get around it? It is very possible that clients will run reports for years worth of data and 100000 rows are not inconceivable.

The application and the benchmark code are written in C# using ORACLE and SQL Server databases. I still have some data sources to test, but would like to know how to get around this just in case I don't find a better solution.

PLEASE 开发者_Python百科BE AWARE THIS IS FOR REPORTING NOT ACTUAL GRID VIEW.


No sane person would fill a gridview with 100000 rows. Implement paging or buy a component that offers paging out of the box if you are not sure how to do it

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜