Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try {
- String sql ="DELETE from tbl_anggota WHERE no='"+txt_no.getText()+"'";
- java.sql.Connection conn=(Connection)config.configDB();
- java.sql.PreparedStatement pst=conn.prepareStatement(sql);
- pst.execute();
- JOptionPane.showMessageDialog(this, "berhasil di hapus");
- load_table();
- kosong();
- } catch (Exception e) {
- JOptionPane.showMessageDialog(this, e.getMessage());
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement