ami79
06-17-2008, 06:18 PM
Hello, i'm trying to use a jComboBox to search data on my database.
i'm using this code:
rs.setCommand("SELECT * FROM aanmeldingsformulier WHERE" + jComboBox1.getSelectedItem() + " = ?");
but when a i run it gives me this error: java.sql.SQLException: no value specified for parameter 1.
can someone help me?
thnx
i'm using this code:
rs.setCommand("SELECT * FROM aanmeldingsformulier WHERE" + jComboBox1.getSelectedItem() + " = ?");
but when a i run it gives me this error: java.sql.SQLException: no value specified for parameter 1.
can someone help me?
thnx