marrol/errores
.net
try { System.out.println("Tratando de ralizar la conexión..."); System.out.print("Lo cual fue.............."); Class.forName("com.mysql.jdbc.Driver"); Connection con = DriverManager.getConnection("jdbc:mysql://localhost/cls","root",""); Statement estado= con.createStatement(); estado.executeUpdate("INSERT INTO cls.orden VALUES"+ "?"+txtmarca.getText()+"?"+txtmodelo.getText()+"?"+txtserie.getText()); System.out.println("\tRealizada con éxito"); } catch(SQLException ex) { System.out.println("Erróneamente su conexión"); } catch(ClassNotFoundException e) { e.printStackTrace(); } catch(Exception e) { System.out.println("Hay un Error en" + e.getMessage()); }
Public repository record indexed from GitHub. Explore verified star velocity metrics, source code repositories, and curated developer tool directories across the GitHubRepo ecosystem.
.net
Public repository.