wood burning stoves 2.0*
The moose likes Beginning Java and the fly likes please check this code Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "please check this code" Watch "please check this code" New topic
Author

please check this code

Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57


[Edit to format code - Dave]
[ July 16, 2006: Message edited by: David O'Meara ]
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
please check the code and let me know where i am going wrong


below is the error message

AuthorsInfo.java:11: cannot resolve symbol
symbol : class Resultset
location: class AuthorsInfo
Resultset rs=stmt.executeQuery(str1);
^
1 error
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
Check the spelling of Resultset. Remember that Java is case-sensitive.
Jenny raj
Ranch Hand

Joined: May 19, 2005
Posts: 57
Corrected the Code. It is working fine now. Thanks for your reply.
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

Jenny, please use the [code] tags when submitting code.

thanks,
Dave.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: please check this code
 
Similar Threads
.equals ( ) and ==
StringBuffer Object in println() function....
String question
comparing Strings
String class