• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Add data into database from jcombobox

 
Ah Ling
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all.
I have a problem now.
That is I want to add the data to the database from the comboboxes.
And I have errors adding it.



How should i go about fixing it?

Thanks in advanced!
 
Ah Ling
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey.
Now, I know where is the problem already.
As I am getting the data from the combobox (It is from other class), thus I can only take in 'null' into the database!
 
Michael Dunn
Ranch Hand
Posts: 4632
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
this type of error is generally found on line 42 of the code.
 
Rob Spoor
Sheriff
Pie
Posts: 20611
63
Chrome Eclipse IDE Java Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think Michael means TellTheDetails. The most important question is, what is the exact query you are trying to execute?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic