当前位置:学学看123知识中心电脑教学数据库教程用javabean来实现MySQL的分页显示» 正文

用javabean来实现MySQL的分页显示

[06-11 18:17:26]   来源:http://www.xxk123.com  数据库教程   阅读:8438

导读: } catch(SQLException e) { System.out.print("Update:"+e.getMessage()); return false; } } // return the num of columns public int getColumns() { int columns = 0; try { this.resultsMeta = this.rs.getMetaData(); columns = this.resultsMeta.getColumnCount(); } catch (SQLException e) {} return columns; } // return the num of rows public int getRows() { return this.rows; } public Strin

用javabean来实现MySQL的分页显示,标签:sql数据库教程,access数据库教程,http://www.xxk123.com
      }
      catch(SQLException e)
      {
          System.out.print("Update:"+e.getMessage());
          return false;
      }
  }

  // return the num of columns    
  public int getColumns()
  {
     int columns = 0;
     try
     {
          this.resultsMeta = this.rs.getMetaData();
          columns = this.resultsMeta.getColumnCount();
     }
     catch (SQLException e)  {}
     return columns;
  }

  // return the num of rows
  public int getRows()
  {
     return this.rows;
  }

  public String getDBName() {
      return this.dbName;
  }

}

  上一篇      目录      下一篇 来源:unknown   ◆ 本站相关教程 mysql让存储结果分页,用于复杂查询一个基于mysql的登陆验证程序MySQL的数据类型和建库策略MySQL怎样优化WHERE子句用gcc批量建mysql库表不同平台上mysql的对比使一个新的MySQL安装更安全将OICQ数据转成MYSQL数据

上一页  [1] [2] [3] [4] [5] 


Tag:数据库教程sql数据库教程,access数据库教程电脑教学 - 数据库教程

Copyright 学学看123 All Right Reserved.

1 2 3 4 5 6 7 8 9 10