ResultSet object is never returned as null if no rows are returned from database. A ResultSet maintains a cursor pointing to its current row of data. Initially the cursor is positioned before the first row. The next method moves the cursor to the next row.
Try and Try Till u succeed<br /> <br />Sandeep Jain