SİL MENÜSÜ
public static void sil(yenikayıteklemeDomain silinecekkayitDomain){
try {
Connection conn= ConnectionToDb.getConnection();
Statement stmt=conn.createStatement();
stmt.executeUpdate(
"delete from kayit where id="
+silinecekkayitDomain.getId());
stmt.close();
conn.close();
}
catch (Exception e) {
e.printStackTrace();
}
}
Hiç yorum yok:
Yorum Gönder