View previous topic :: View next topic |
Author |
Message |
riki
Joined: 01 Dec 2004 Posts: 1
|
Posted: Wed Dec 01, 2004 11:17 am Post subject: Excel ADO connection string |
|
|
Hi,
I want to connect to an Excel spreadsheet from ASP, but I don't have any idea what ADO connection string to use. Does somebody know what the Excel ADO connection string should look like?
Riki |
|
Back to top |
|
|
paul
Joined: 11 Oct 2004 Posts: 128
|
Posted: Wed Dec 01, 2004 2:57 pm Post subject: |
|
|
Riki,
Here is a sample ADO Excel connection string:
sConnectionString = "Driver={Microsoft Excel Driver (*.xls)}; DriverId=790; Dbq=D:\Your_Path_Here\Your_Excel_File_Here.xls; DefaultDir=D:\Your_Path_Here"
I hope this helps,
Paul _________________ World Countries | Survival Skills |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2002 phpBB Group
|