You're using a query builder in Visual Studio? For what, a strongly typed
dataset, or for setting up a stored procedure? You need to write your query
to take a parameter, and then when you execute it, pass in the string from
the textbox as the parameter.
Robin S.
---------------------------------
"giannis" <zz********@freemail.grwrote in message
news:uv**************@TK2MSFTNGP02.phx.gbl...
Adamz5 wrote:
>SELECT FIELD1 FROM TABLE1 WHERE TABLE1.FIELD2= " ' " + textbox1.text
+" ' "
The query builder change the textbox1.text in textbox1.[text] and thereby
i receive error.