R
Rabbit
Hi,
I'm developing asp.net application which I would use AccessDataSource
control to retreive data, now when I come to design the SELECT query, i
don't know how to create a pattern matching type of query.
My query is something like "SELECT * FROM tbl_User WHERE username Like ?",
in which the parameter based on a textbox control, so that user can enter
their own search pattern with the knowledge of using "%". My question is how
to embed the % onto the parameter automatically for user, so they don't need
to remember this kind of technical syntax.
Anyone can help is highly appreciated!
I'm developing asp.net application which I would use AccessDataSource
control to retreive data, now when I come to design the SELECT query, i
don't know how to create a pattern matching type of query.
My query is something like "SELECT * FROM tbl_User WHERE username Like ?",
in which the parameter based on a textbox control, so that user can enter
their own search pattern with the knowledge of using "%". My question is how
to embed the % onto the parameter automatically for user, so they don't need
to remember this kind of technical syntax.
Anyone can help is highly appreciated!