Statement stmt=con.createStatement(ResultSet.Type_Scroll_INSENSITIVE,ResultSet.CONCUR_READ_ONLY); rst=stmt.ExecuteQuery("select * from xx"); rst.beforeFirst(),就可以了 是不是很Simple!!! 转载于:https://www.cnblogs.com/tries/archive/2008/04/11/1148189.html