问题描述:

public void UpdateTable(){

try{

String sql = "SELECT user_lastname, user_firstname, user_mi, user_address, user_contact, user_email FROM loginform";

ps = conn.prepareStatement(sql);

rs = ps.executeQuery();

table.setModel(DbUtils.resultSetToTableModel(rs));

}

catch(Exception e){

JOptionPane.showMessageDialog(null, e);

}

}

I have this method but when i run my program i got a SyntaxError .. please help me solve this

相关阅读:
Top