rmokkenstorm
Active member
- Joined
- Feb 20, 2006
- Messages
- 31
im building a program wich have a search function.
the user fills in a value in a textbox and presses the button.
now the given value should pass to the select query
and the select query is:
WHERE (T075_BORGTOCHTNUMMER_1 LIKE ?)"
i use a acces database
but when i execute this he says that there is no value for the paratmeter
can anyone help me?
the user fills in a value in a textbox and presses the button.
now the given value should pass to the select query
C#:
string VAL;
if (textBox1.Text != string.Empty)
{
VAL = textBox1.Text;
}
else
{
VAL = "%";
}
this.dBANBM_T075_BORGTOCHTTableAdapter.Fill(this.testdb1DataSet.DBANBM_T075_BORGTOCHT);
and the select query is:
WHERE (T075_BORGTOCHTNUMMER_1 LIKE ?)"
i use a acces database
but when i execute this he says that there is no value for the paratmeter
can anyone help me?
Last edited by a moderator: