On Mon, 31 Jan 2005 17:27:04 -0600, "GD" <(E-Mail Removed)> wrote:
¤ Hi,
¤
¤ I am trying write a web application using ASP.Net to load an Excel file from
¤ client site and save all the data in the file to a table in SQL Server 2000.
¤
¤ My current assumption is: load Excel data to an ADO.Net dataset, or a
¤ datareader, then pull the data out from them and insert the data to a SQL
¤ Sever table.
¤
¤ I wonder if there is any better way to transfer the Excel data to SQL
¤ Server.
¤
¤ Thanks for any hints.
If the Excel file is on the client side then it will likely need to be uploaded to the server first,
or a network share where it is accessible.
http://www.stardeveloper.com/article...3031201&page=1
http://www.aspheute.com/english/20000802.asp
After the file is uploaded there is a good possibility that you can use SQL to insert the Excel data
into an existing SQL Server table.
Paul ~~~
(E-Mail Removed)
Microsoft MVP (Visual Basic)