Click here to Skip to main content
16,017,852 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I Have a requirement to export dataset data to excel.but dataset has more than 5,00,000 rows which is the best to do this.
Posted
Comments
Shweta N Mishra 12-Nov-14 3:42am    
Get the result direct in excel or CSV file.

1 solution

If you are using SSRS you can directly use the export to excel feature of SSRS
Otherwise you can also go to
DataSet to Excel in Two steps – with Different Styles[^]
and
Export DataSet into Excel using C# Excel Interop[^]
 
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