aspose 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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
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');




 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Insert VALUE from JTEXTFIELD to DATABASE [I accidentally clicked the RESOLVED button :| ]
 
Similar Threads
Insert VALUE from JTEXTFIELD to DATABASE
HTML Form/Servlet Problem
Just realise something interesting about Date in Java and SQL
SQLServerException: The statement must be run before the generated keys are available
ps statement in jsp