Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ASP Connection without DSN???
Message
General information
Forum:
Visual Basic
Category:
Database DAO/RDO/ODBC/ADO
Miscellaneous
Thread ID:
00218069
Message ID:
00218906
Views:
31
>>Q: Is there a way to make a DSN-Less connection to an Access database using ADO on an ASP page?
>
>set conn=server.createobject("adodb.connection")
>conn.Open "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=e:\inetpub\evandelay.com\lotto649\lottery.mdb"
>
Hi Evan,

Does that mean we don't have to declare the data source name into the ODBC dialog ? Does that mean we just have to put this sentence into the page to access the DB ?

This seems very interesting. At the moment we are buiding a site which uses MS DBs through ODBC and ADO. But we spent time (before buying a book about ASPs) understanding how to link the data sources to the site...

Bye
VB Developer
Servilog Concept
jmb@octalfrance.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform