File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

please check this code

 
Jenny raj
Ranch Hand
Posts: 57
  • 0
  • 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
  • 0
  • 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: 2399
  • 0
  • 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
  • 0
  • 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
  • 0
  • 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