}
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数据
Tag:数据库教程,sql数据库教程,access数据库教程,电脑教学 - 数据库教程