This is a migrated thread and some comments may be shown as answers.

Exporting large result sets to Excel outofmemoryerror

1 Answer 14 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
z
Top achievements
Rank 1
z asked on 29 Aug 2014, 12:34 PM
I have a question about export to excel on radgridview


I have radgridview with 50000 rows data ,call grid.Export()  exception

version:2013.2.729.1050

code:SaveFileDialog dialog=new SaveFileDialog();

using(Stream stream=dialog.OpenFile())
{
GridViewExportOptions exportOptions=new GridViewExportOptions();
grid.Export(stream,exportOptions);
}




1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 01 Sep 2014, 08:15 AM
Hi,

Generally all the data to be exported is saved in memory, so the exporting capacities are not huge.

For more complex scenarios I would recommend you to use our Reporting tools which are built to suit various exporting scenarios. 

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
General Discussions
Asked by
z
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or