Good morning, please help. When I try to export 10 000 records starting I get the following error: An unhandled exception of type 'System.OutOfMemoryException' occurred in mscorlib.dll but not handled in user code.When you exported fewer runs without any problem.
http://www.aspsnippets.com/Articles/Export-data-from-SQL-Server-to-Excel-in-ASPNet-using-C-and-VBNet.aspx