Do not call Access database by setting system DSN

xiaoxiao2021-03-06  84

code show as below:

Class.Forname ("sun.jdbc.odbc.jdbcodbcdriver"); connection conn = drivermanager.getConnection ("JDBC: ODBC: driver = {Microsoft Access Driver (* .mdb)}; dbq = c: /dvbbs7.mdb") ;

转载请注明原文地址:https://www.9cbs.com/read-122856.html

New Post(0)