Click here to Skip to main content
15,881,715 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
hi how to import sql table data to excel sheet in asp.net?can any one suggest me?
Posted
Comments
Varun Sareen 5-Mar-12 7:28am    
your question is confusing? do you mean how to export sql data to excel sheet?
Prasad_Kulkarni 5-Mar-12 7:34am    
agree with Varun
Varun Sareen 5-Mar-12 7:34am    
Please always do google search first and then try something and then when you face problem then post your question here

--Trying is to believing yourself...

Use DataTable.WriteXML[^] then use XSLT to transform as necessary to the Excel format or CSV
 
Share this answer
 
 
Share this answer
 
Comments
ythisbug 6-Mar-12 0:48am    
thanks varun
Varun Sareen 17-Oct-12 2:10am    
your welcome friend

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