0
我想在我的Netbeans控制器类中使用更新SQL语句。Netbeans控制器中的SQL语句
方法控制器:
public String verify(){
String result = "failed";
int authcode = staffBean.getVerifyCodeByName(getLoginUserName());
if (code==authcode){
result ="success";
//add an update SQL statement
}
else{
JOptionPane.showMessageDialog(null,"Code does not match!");
}
return result;
}
任何人都知道它什么语法?还是不可能在这里做?谢谢