Click here to Skip to main content
14,770,661 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi all,
i want to export my datagridview data into excel sheet on button click event.
how could i do that.
kudos
neaS
Posted
Comments
DaveAuld 30-Aug-11 7:43am
   
There are several articles on this subject, search the articles.......

Ther are two main ways of dealing with Excel with C#. You can either use the Microsoft Office Interop Assemblies or you can use ADO.Net to interact with an Excel Spreadsheet. Which one you choose will depend on your requirements.
   

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