Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Buttons!!

 
mfphor Mokoena
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi guys,

From the existing button, how do you connect it to database? Rather, what do you do to a put to a button to able able to submit data to your database?

this is how my button looks like at the moment:


 
Campbell Ritchie
Marshal
Posts: 52664
122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch.

I think a long time curled up with the Java Tutorial about databases is going to help.

Suggest you learn to do database access from the command line, and once you have got it working, then you can probably transfer it to a JButton quite easily.
 
No. No. No. No. Changed my mind. Wanna come down. To see this tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!