if(rs.next())
{
data in resultset...
}
else
no data...
thanx
zulfi
----- Original Message -----
From: Pavan Sulibhavi <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 26, 2000 12:11 PM
Subject: JDBC-ODBC
> Hi,
> I'm getting the invalid cursor state error message (SQLException). well,
> this is because the returned ResultSet contains no data, and i'm trying to
> access it. How to find out whether the ResultSet returned by method -
> executeQuery(query) contains any data at all ??
>
> PLEASE reply as soon as possible..
>
> thanks a lot!
> Pavan
>
>
___________________________________________________________________________
> 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
>
___________________________________________________________________________
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