December 5, 2008 at 11:36 PM
Some points to be memember :
public interface ResultSet
ResultSet is an object that holds the all the records of a table.When we connect the database with
Java or .Net applecation then it stores all the data of a table in the ResultSet.
public boolean next() throws SQLException
Moves the cursor down one row from its current position. A ResultSet cursor is initially positioned before the first row;
the first call to the method next makes the first row the current row; the second call makes the second row the current row,
and so on.
If an input stream is open for the current row, a call to the method next will implicitly close it.
A ResultSet object's warning chain is cleared when a new row is read.
true if the new current row is valid; false if there are no more rows
SQLException - if a database access error occurs