Hello To Everybody,
I want to upload excel sheet data into sql server 2000 using asp.net and C#.
Could anyone provide me C# code to do it ASAP?
Thanks
Ajay
Urgent: Export data from Excel into Sql server 2000
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.
Mahesh ChandRank #1 · 393.4K pointsPosted Apr 4, 2006, 7:06 AM EDT
1. Read data from Excel sheets and store in a DataSet/DataTable
2. Connect to SQL Server and update database with the data (save it to the database).
Now, to learn how to read data from an Excel sheet into your application (DataSet/DataTable), go to Office Interoperability section and see articles by Mike Gold.
To learn how to connect to the database and save data to the database, go to ADO.NET section and see database updation related articles.
Hope it helps.