【文件属性】:
文件名称:个人事务管理系统
文件大小:260KB
文件格式:DOC
更新时间:2016-01-07 07:18:26
java
设计一个个人事务管理系统 public ResultSet executeSelect(String inquire) throws SQLException { //执行数据库查询操作
rs = stmt.executeQuery(inquire);
return rs;
}
…… ……
public boolean executeInsert(String insert) throws SQLException {//执行数据库添加操作
int n = 0;
n = stmt.executeUpdate(insert);
this.close();
if (n > 0) {
return true;
}
else {
return false;
}
}