Click to See Complete Forum and Search --> : database connection


artapoelc
January 7th, 2003, 05:53 PM
hey plz read the following and tell me how do i change the database connection string??
and my DSN name.. thanks alot

'## DATABASE CONFIGURATION
'Connection String - Modify this to match your own settings
Dim dsn

'#DSN ODBC
'dsn = "YOUR_DSN_NAME"

'#MS ACCESS 2000 using virtual pathname
dsn = "DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=" & Server.MapPath("db/database.mdb")