Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
ASP Connection without DSN???
Message
Information générale
Forum:
Visual Basic
Catégorie:
Bases de données DAO/RDO/ODBC/ADO
Divers
Thread ID:
00218069
Message ID:
00218906
Vues:
30
>>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform