Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public static void update(String qry) {
- if(isConnected()) {
- try {
- con.createStatement().executeUpdate(qry);
- } catch (SQLException e) {
- e.printStackTrace();
- }
- } else {
- connect();
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement