DSNless connection string



DSNless connection string for use with .mdb MS Access, etc.:

"DRIVER={Microsoft Access Driver (*.mdb)};
DBQ=C:\inetpub\vhosts\yourdomain.com\database.mdb"

Or

conn.Open "PROVIDER=Microsoft.Jet.OLEDB.4.0;Data Source=" & Server.MapPath("./db/database.mdb")



Ha estat útil la resposta?

 Imprimeix aquest Article

Llegir també

Connecting to my database remotely?

Remote database connections to MySQL/MSSQL are not supported on our shared/reseller hosting...

Where can I get WebMatrix?

You can download WebMatrix for free:   http://www.microsoft.com/web/webmatrix/

Enable URL Rewriting in Joomla

To enable URL rewriting in Joomla:   In "Global Configuration"   Select "Yes" for "Use URL...

Changing folder permissions in Plesk

From the Plesk panel, go to "Websites & Domains" and then "File Manager".   To the...

How to backup MSSQL database

How to (export) MSSQL Database in Reseller Account To export MSSQL Database. If you are...