try { String driver = "sun.jdbc.odbc.JdbcOdbcDriver"; Class.forName( driver ); String url = "jdbc:odbc:LoginTest"; con = DriverManager.getConnection( url, "", "" ); st = con.createStatement(); } catch( Exception ex ) { //JOptionPane.showMessageDialog( null, ex.getMessage() ); System.err.println("SQL Exception : " + ex.getMessage() ); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)