Those ways are fine and I must admit I normally do it that way.
But for those of you using JDBC 2.0 how about:
if (rs.next()) {
rs.afterLast();
rs.previous();
noOfRecords = rs.getRow();
}
???
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
- Number of Records Silvia Gaspar
- Re: Number of Records pankaj mishra
- Re: Number of Records Anup K M A
- Re: Number of Records Kiran
- Re: Number of Records rachid
- Re: Number of Records Sven van 't Veer
- Re: Number of Records Vikram Kumar
- Re: Number of Records Amol Katdare
- Re: Number of Records Dehe Cao
- Re: Number of Records Andrew Wallace
- Re: Number of Records Sven van 't Veer
- Re: Number of Records Polley Christopher W
- Re: Number of Records Dehe Cao
- Re: Number of Records Srini Sathya.
- Re: Number of Records Thor Heinrichs-Wolpert
- Re: Number of Records Leos Urban
- Re: Number of Records Vivek Singh
- Re: Number of Records Vivek Singh
