Home Tutorialhelp Comment jdbc connection without dsn

 
 

Comment

Ajaysingh Thakur
jdbc connection without dsn,
April 30, 2009 at 10:47 PM

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
String myDB = "jdbc:odbc:Driver={Microsoft Access Driver (*.mdb)};DBQ=C:/data/month.MDB";
DBConn = DriverManager.getConnection(myDB,"","");
View All Comments | View Tutorial
Advertisement
Related Tutorial and Articles
Advertisements Advertisements
 

 

 

DMCA.com