File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes JDBC and the fly likes Insert VALUE from JTEXTFIELD to DATABASE  [I accidentally clicked the RESOLVED button :| ] Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Databases » JDBC
Bookmark "Insert VALUE from JTEXTFIELD to DATABASE  [I accidentally clicked the RESOLVED button :| ] " Watch "Insert VALUE from JTEXTFIELD to DATABASE  [I accidentally clicked the RESOLVED button :| ] " New topic
Author

Insert VALUE from JTEXTFIELD to DATABASE [I accidentally clicked the RESOLVED button :| ]

Rui Kim
Greenhorn

Joined: Jul 12, 2011
Posts: 3
Hi guys I'm using usbwerver mySQL for my database and netbeans 7.0 with Glassfish server 3.1 as my server..my project is a Java Desktop Applicaion with Basic Database.
just wanna know how do I insert values which are inputted by a user from my JTEXTFIELD and insert it to my DATABASE? and where exactly should I put it? I really need your help here guys T.T thanks in advance




Kammaganti Kamal
Greenhorn

Joined: Jul 12, 2011
Posts: 6
Clue :

Simple Insert Statement : Insert into tablename values('100');




 
 
subject: Insert VALUE from JTEXTFIELD to DATABASE [I accidentally clicked the RESOLVED button :| ]