Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

please check this code

 
Jenny raj
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


[Edit to format code - Dave]
[ July 16, 2006: Message edited by: David O'Meara ]
 
Jenny raj
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check the spelling of Resultset. Remember that Java is case-sensitive.
 
Jenny raj
Ranch Hand
Posts: 57
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Corrected the Code. It is working fine now. Thanks for your reply.
 
David O'Meara
Rancher
Posts: 13459
Android Eclipse IDE Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jenny, please use the [code] tags when submitting code.

thanks,
Dave.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic