wood burning stoves 2.0*
The moose likes JDBC and the fly likes insertion Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC
Bookmark "insertion" Watch "insertion" New topic
Author

insertion

jyotsana dang
Ranch Hand

Joined: Sep 26, 2003
Posts: 135
Iam not able to figure out clearly how to insert values from the following form to the database. I have a form where i have used javascript for selecting dynamically the values.. like from the course ..list if the user selects UG courses..the courseno and the course_titles get displayed..stored all the values in arrays..
wanted to know how will i insert the same .. in the database..
Bhupendra Malviya
Greenhorn

Joined: Oct 01, 2003
Posts: 15
HI,
If you are able to read the selected values then ,you can try prepared statement to insert those values.
Refer java docs for more clarifications.
Bhupendra
jyotsana dang
Ranch Hand

Joined: Sep 26, 2003
Posts: 135
iam not even able to read the selected values. it is printing the type values as null.
Bhupendra Malviya
Greenhorn

Joined: Oct 01, 2003
Posts: 15
Hi ,
Can you provide the part of code , where you are populating the list and reading values from it after selection.
Bhupendra
jyotsana dang
Ranch Hand

Joined: Sep 26, 2003
Posts: 135
Originally posted by Bhupendra Malviya:
Hi ,
Can you provide the part of code , where you are populating the list and reading values from it after selection.
Bhupendra

thanks.. was able to insert the values now..
Bhupendra Malviya
Greenhorn

Joined: Oct 01, 2003
Posts: 15
Can you tell me what changes you did
Bhupendra
 
jQuery in Action, 2nd edition
 
subject: insertion