Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- try{
- Class.forName("com.mysql.jdbc.Driver");
- Connection con = DriverManager.getConnection("jdbc:mysql://localhost:3306/new","root","123");
- Statement st = con.createStatement();
- boolean rs = st.execute("Drop table "+na+";");
- tn.setText("");
- }
Add Comment
Please, Sign In to add comment