Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Upload Excel and store in SQL Server

Status
Not open for further replies.

cfsponge

Programmer
Feb 22, 2006
44
US
Does anyone know of a sound technique or tutorial for A) uploading Excel sheet via HTTP, and B) parsing Excel fields for SQL Server storage?
 
Do a google search for "pure asp upload" and that should get you started with uploading a file.

Then, once you get the file up... I'd look into connecting to it via ADO using an ODBC driver for Excel. If at all possible I would avoid actually creating any instances of the Excel application on the web server.
 
The site connection is OLEDB. Does this affect not having to create an Excel app instance.
 
OLEDB is fine it also works with ADO... these drivers should be able to parse the XLS file without actually starting an instance of Excel which is something you definately want to avoid on the web server.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top