This week's book giveaways are in the Java EE and JavaScript forums.
We're giving away four copies each of The Java EE 7 Tutorial Volume 1 or Volume 2(winners choice) and jQuery UI in Action and have the authors on-line!
See this thread and this one for details.
The moose likes JDBC and the fly likes Updating Database by editing jtable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of The Java EE 7 Tutorial Volume 1 or Volume 2 this week in the Java EE forum
or jQuery UI in Action in the JavaScript forum!
JavaRanch » Java Forums » Databases » JDBC
Reply locked New topic
Author

Updating Database by editing jtable

Haris Tasawar
Ranch Hand

Joined: Aug 19, 2011
Posts: 30
Hey all,
I am new to java and i have a problem which i want to resolve. I recently saw a code which basically lists the values of a database in a jtable, so i modified it and used it in my own app. The problem which i have now come across is the updating of the database by editing the jtable. I have no idea how to do this, the only thing i know is that i have to call an event like firecellupdated but i dont know how to call it and what to call in it and also where to call it.

Can anyone help me on this issue. Any help would be appreciated.


Harry.


Note: Here is the listing code in case you guys require it


Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41599
    
  55
Duplicate, please continue the topic at http://www.coderanch.com/t/549824/GUI/java/Updating-Database-editing-jtable.


Ping & DNS - my free Android networking tools app
 
jQuery in Action, 2nd edition
 
subject: Updating Database by editing jtable