Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
Once the ID Number was entered it will be automatically deleted from the database
Note: Regards that the import java.sql.*; and import javax.swing.*; is already on the top of the public class….
try{
Connection kon;
ResultSet rs;
Statement stmt;
String query;
Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
stmt = kon.createStatement();
rs = stmt.executeQuery(qry);
if(rs.next())
int j = stmt.executeUpdate(query);
else
stmt.close();
kon.close();
catch(Exception e){}