dudi9999
May 12th, 2008, 08:12 PM
How can i to insert data to my db(mysql) from textfield?( by netbeans visual jsp)
| // JP opened flex table
Click to See Complete Forum and Search --> : insert to db from textfield dudi9999 May 12th, 2008, 08:12 PM How can i to insert data to my db(mysql) from textfield?( by netbeans visual jsp) dlorde May 13th, 2008, 09:15 AM Extract the data from the text field as a String with textField.getText(), insert the data String into your SQL update statement String and execute the SQL update. Have a read of this : Java Tutorial JDBC Basics (http://java.sun.com/docs/books/tutorial/jdbc/basics/index.html). If you need more help, try to be a bit more specific about exactly what parts you're stuck on or don't understand. We think too much about effective methods of teaching and not enough about effective methods of learning. No matter how good teaching may be, each student must take the responsibility for his own education... J. Carolus S.J. dudi9999 May 13th, 2008, 09:27 AM Thank u but i looking for sample to do it with the visual-tool visual jsp (jsf) how to drag from navigator window to database to textfield and how to define it. dlorde May 13th, 2008, 11:42 AM In that case it isn't strictly a Java question, but a question about how to use Netbeans Visual JSP, so you'd probably be better off asking in a Netbeans forum. The biggest difference between time and space is that you can't reuse time... M. Furst codeguru.com
Copyright 2007 Jupitermedia Corporation All Rights Reserved. |