Click here to Skip to main content
15,861,125 members
Articles / Web Development / ASP.NET

How to save data into excel by ASP.NET?

Rate me:
Please Sign up or sign in to vote.
0.00/5 (No votes)
5 Oct 2012CPOL 2.9K  
Hello Guys,I have a problem that I couldn't find the solution.The user enter some values into the textboxes and then those data is going to send to an excel file.My INSERT statement is like this:(Note : I use OLEDB Provider)string data = "INSERT INTO [Sheet1$](A1) VALUES...

Alternatives

Members may post updates or alternatives to this current article in order to show different approaches or add new features.

Please Sign up or sign in to vote.
5 Oct 2012Dain Ucak
Dont use sheet name. create header and use headers name.http://csharp.net-informations.com/excel/csharp-excel-oledb-insert.htm[^]

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
United States United States
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions