"Edition,Pages,ISBN,NumberOfBooks,NumberOf
AvailbleBooks,Library,Availble,ShelfNo)
VALUES " +
"
(?,?,?,?,?,?,?,?,?,?,?,?,?)";
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver")
;
Connection con =
DriverManager.getConnection("jdbc:odbc:Driver
={Microsoft Access Driver
(*.mdb)};DBQ=JLibrary.mdb;DriverID=22;REA
DONLY=true) ", "", "");
// Connection
con=DriverManager.getConnection("jdbc:odbc:J
Library");
PreparedStatement ps =
Do'stlaringiz bilan baham: |