I have table having around 80 to 90 columns and it has data around 800000 to 900000, i need to export data around 400000 to excel using asp.net and c#.
I have tried to export data from dataset using Open-XML DOM method, but it will hang out the system and got Memory Out of Bound error at some point.
can any other method which will export data from sqlserver to Microsoft excel 2007/2010.