Xg6iObhwb_XV\bhj
--------------------------------------------------------------------------------
public String updGridHdr(String[] vals){
    String table_name = vals[0];
    int rows = Integer.valueOf(vals[1]).intValue();
    int cols = Integer.valueOf(vals[2]).intValue();
    Date now = new Date();
    DateFormat df = new SimpleDateFormat("yyyy-MM-dd");
    String add_date = df.format(now);
    try {
      sql = "update table_hdr set rows = ?, cols = ?, add_date = ? where table_name = ? ";
      PreparedStatement ps = con.prepareStatement(sql);
      ps.setInt(1, rows);
      ps.setInt(2, cols);
      ps.setString(3, add_date);
      ps.setString(4, table_name);
      ps.executeUpdate();
      resp = "OK:XVFe[uF " + table_name;
    }catch(SQLException e) {
      resp = "ڑs RF" + e.toString();
    }catch(Exception e){
      e.printStackTrace();
    }
    return resp;
  }
--------------------------------------------------------------------------------