Hi guys.
id like a gridview to display the results from the textbox search, but i want it to search the db for anything i type in and match it.
sort of like
[CODE=sql]select * from [tablename] where [columnName] LIKE '%%'[/CODE]
but i want the value to be taken from the textbox.
[CODE=sql]select * from [tablename] where [columnName] LIK '% + search.text + %'[/CODE]
id like a gridview to display the results from the textbox search, but i want it to search the db for anything i type in and match it.
sort of like
[CODE=sql]select * from [tablename] where [columnName] LIKE '%%'[/CODE]
but i want the value to be taken from the textbox.
[CODE=sql]select * from [tablename] where [columnName] LIK '% + search.text + %'[/CODE]
Comment