Click here to Skip to main content
16,016,669 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello,


i am using store procedures to fetch data using C#


i have 100000 rows to export to excel using C#


but it is taking so much time load and generated excel data



how to load fast data in the excel
Posted
Comments
Maciej Los 13-Oct-14 2:04am    
What method do you use to export data to MS Excel? Please, be more specific and provide more details.
Maciej Los 13-Oct-14 2:44am    
Why do you use 'Reply' button if your comment is not related to mine?
Sinisa Hajnal 13-Oct-14 3:14am    
Sorry. Deleted. Posted to the questioned.
Maciej Los 13-Oct-14 3:17am    
Don't worry ;)
Sinisa Hajnal 13-Oct-14 3:14am    
What have you tried? And more importantly WHY are you getting so much data into the excel? No one will look at more then around 50 rows for any useful information and if you need to allow users to calculate their own stuff, ask them to define what they need and retrieve only that.

1 solution

Use this component for the Excel export (it is really fast) : http://epplus.codeplex.com/[^]
 
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