Click here to Skip to main content
15,887,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to export 4 tables from SQl Database.
Each table has Record 60000.
I want to get 4 sheets for 4 tables in a workbook.
And i also want to get column headings in each sheet.
I tried with datatables and Com object.
But the loading time takes so much.
so which way will be the proper way for exporting large amount of data to excel???
Posted

pl see the following thread
How to export data from SQL SERVER to Excel[^]

and the following CP article:

Fast Exporting from DataSet to Excel[^]
 
Share this answer
 
Comments
saitphwar 18-Jan-12 21:44pm    
I use Fast Exporting From DataSet to Excel,It has two Method CellByCell Method can not export large amount of data.
The second Method,FastExportingMethod, when i export this method to Excel,datetime data has become to Decimal Data, how can i do to get datetime??
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900