• Post Reply Bookmark Topic Watch Topic
  • New Topic

update mysql quary using prestatement java  RSS feed

 
Darshana Kapuge
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
 
Jeanne Boyarsky
author & internet detective
Sheriff
Posts: 37393
531
Eclipse IDE Java VI Editor
  • Likes 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Darshana ,
Welcome to CodeRanch!

I added code tags to make the code easier to read. What's the question though? What error do you get or problem do you have?
 
Darshana Kapuge
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi thanks for warm welcome
i got no error but database not updating that the problem i get
 
amit punekar
Ranch Hand
Posts: 544
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you meant to assign value of "a" to regNo and this line WHERE regNo = '+rNo+'" is not doing that.

regards,
amit
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!