Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

insertion

 
jyotsana dang
Ranch Hand
Posts: 135
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 135
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iam not even able to read the selected values. it is printing the type values as null.
 
Bhupendra Malviya
Greenhorn
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 135
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you tell me what changes you did
Bhupendra
 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic