Rs.last ();
INTITROWCOUNT = rGETROW ();
Out.println (IntrowCount);
Rs.beforefirst ();
While (rs.next ())
{
......
}
Move the pointer to the end, you can calculate the number of total records
Before rs.beforefirst (), it should be said that the RS recordset is empty, otherwise it will be wrong!
In the SQL statement of the database Oracle, if Chinese is involved, you must pay attention to the problem of the character set.