当前位置: 动力学知识库 > 问答 > 编程问答 >

database - SyntaxError: Unknown Column

问题描述:

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

分享给朋友:
您可能感兴趣的文章:
随机阅读: