i want that when i click a button the data from particular table(including table header) should import to excel sheet and excel should save on solution explore folder excel.
i dont want to use any data grid like grid view or any thing.
how i can achieve this
Loading
Ankit ShivnakrPosted Jan 13, 2012, 8:25 AM
Please Find Attachment for Your solution and make change according to ur need
Satyapriya NayakPosted Jan 13, 2012, 7:31 AM
Please refer the below link
http://www.codeproject.com/KB/aspnet/coolcode2_aspx.aspx
Thanks
Mukesh KumarPosted Jan 13, 2012, 7:26 AM
Check this link http://blog.sqlauthority.com/2008/01/08/sql-server-2005-export-data-from-sql-server-2005-to-microsoft-excel-datasheet/