没有
有两种方法:
1. sSql = "Select Count(*) As recordcount From tablename Where somecondition"
   然后取rs("recordcount")
2. sSql = "Select * From tablename Where somecondition"
   i = 0
   while (rs.next()) {
      i ++;
   }

解决方案 »

  1.   

    result.last();  
       Page_Row=result.getRow();   这样才最最简单。
      

  2.   

    sqlStr = "Select Count(*) From tablename Where somecondition"
    然后rs.getInt(1)
      
      

  3.   

    sqlStr = "Select Count(*) From tablename Where somecondition"
    然后rs.getInt(1)
      
      

  4.   

    sqlStr = "Select Count(*) From tablename Where somecondition"
    然后rs.getInt(1)
      
      

  5.   

    sqlStr = "Select Count(*) From tablename Where somecondition"
    然后rs.getInt(1)
      

  6.   

    sqlStr = "Select Count(*) From tablename Where somecondition"
    然后rs.getInt(1)
      

  7.   

    sqlStr = "Select Count(*) From tablename Where somecondition"
    然后rs.getInt(1)