How to connect to MS Access with out using DSN

How to connect to MS Access with out using DSN ? i.e. with file path only and a username and password
LVL 18
armoghanAsked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
objectsConnect With a Mentor Commented:
connect = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/mydb.mdb";
0
 
armoghanAuthor Commented:
I saw your answer before but I was unable to find it using the search and knew that you will give answer sooner than me searching for it :))))
0
All Courses

From novice to tech pro — start learning today.