当前位置: 代码迷 >> Eclipse >> 帮帮忙吧,诸位!
  详细解决方案

帮帮忙吧,诸位!

热度:56   发布时间:2016-04-23 00:43:15.0
帮帮忙吧,各位!!!
public static int modifyRecord(String strProcInvoke) {
Connection con = ConnectionManager.getConnection();
try {
return con.prepareCall("{call " + strProcInvoke + "}").executeUpdate();
} catch (SQLException e) {
e.printStackTrace();
return 0;
} finally {
ConnectionManager.closeConnection(con);
}
}


如何调用上述方法实现按钮添加事件
------解决方案--------------------
你的按钮呢。什么都没有。
在你的按钮上绑定事件onClick。里面填上你上面的代码
  相关解决方案