Click to See Complete Forum and Search --> : connection on MS SQL server


roby
04-21-2003, 05:08 PM
hi,

i have a website on ASP language and connection with
MS access and i want to make it with MS SQL sever what is the changes that i will make it

roby

sanjay
04-23-2003, 08:12 AM
can u please type u r connection string

roby
04-24-2003, 02:00 AM
Originally posted by sanjay
can u please type u r connection string

hi,
that is the connection with MS Access

Dim DB_CONNECTION
DB_CONNECTION = "DRIVER={Microsoft Access Driver (*.mdb)};DBQ=" & Server.Mappath("./myDB") & ";"



roby

sanjay
04-24-2003, 02:48 AM
Please c
DB_CONNECTION = "Provider=MSDASQL;DRIVER={SQL Server};Database=databasename; Server=Servername;UID=userid; PWD=password"