Quantcast
Channel: Visual C# forum
Viewing all articles
Browse latest Browse all 31927

C# local database search particular name (Query Builder)

$
0
0

I want to search for a name in a local database which is connected with C# windows form using Query Builder. I tried it with this code.

LIKE @Name+ '%'

It gives me a textbox and a button what can be use to search in the table.. But the problem of using this code is if I type "ma" and search it shows me all the things that contains text "ma" in the name column. 

That's not what I want to do. All I want is search for the columns that only contains "ma" as the name.

How can I do it ?


Viewing all articles
Browse latest Browse all 31927

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>