Hi ,
I want to Insert data from SqlServer to Excel using visual studio web application(using c# language) and sqlserver 2005.In my sqlserver,I have stock table with the columns.the stock table rows increased every day depending upon stock items.I want to give startdate and enddate control in web app.when i click the submit button means it will show the records in excel.what can i do.please help me.
Thanks&Regards,
Gokilavasan.M
Loading
Santhosh Kumar JayaramanPosted Jul 10, 2012, 2:53 AM
Then you can export to excel easily.
Refer this article to know how to export datatable to excel.
http://www.c-sharpcorner.com/UploadFile/1a81c5/export-datatable-to-excel-with-formatting-in-C-Sharp/