hwakern
Dec 7th, 2000, 11:48 PM
good day,
i have database.mdb access file and want to use connectionless to connect the dababase.please help.
Below is the code i try but i can't get it worked
<%
Dim objDB
Dim DBName
DBName = "driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("../db/database.mdb")
Set objDB = Server.CreateObject("ADODB.Connection")
objDB.Open DBName
%>
i have database.mdb access file and want to use connectionless to connect the dababase.please help.
Below is the code i try but i can't get it worked
<%
Dim objDB
Dim DBName
DBName = "driver={Microsoft Access Driver (*.mdb)};DBQ=" & server.MapPath("../db/database.mdb")
Set objDB = Server.CreateObject("ADODB.Connection")
objDB.Open DBName
%>