ResultSet

1.值为一个数字

 ResultSet rs = statement.executeQuery("select count(*) from msgInfo" ); 
      if (rs.next()) 
      {
              recordCount = rs.getInt(1);
       }

 

posted @ 2017-03-19 23:41  lyn流光  阅读(95)  评论(0)    收藏  举报