Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rs = db.querySelectAll("utilisateur","username='"+ txt_username.getText()
- + "' and password='"+ txt_password.getText() +"'");
- try {
- while (rs.next()){
- username1 = rs.getString("username");
- password1 = rs.getString("password");
- hak = rs.getString("type");
- }
- catch (SQLException ex) {
- Logger.getLogger(Login.class.getName()).log(Level.SEVERE,null,ex);
- }
Add Comment
Please, Sign In to add comment