Click here to Skip to main content
15,885,216 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hie guyz i'm developing a mortgage management application i wuld like to provide a functionality for searching clients I wuld like the to do this for example if the user typed "thomas" the program would list all the records begining with "T" in the field for names & display them in a list box the database i'm using is SQL Server and i'm new to VB.NET & I don't want to use stored procedures
Posted
Comments
Reiss 26-Jul-11 10:33am    
Why don't you want to use stored procedures - this is the job they were designed for - it's a bit like saying I want to build a house and I don't want to use cement.

You can do that in two way.

1.Database side
SQL Server: Conditional WHERE clause (Filter for a Filter) [^]

2.Datasource side
Use Filter to filter Data Table[^]
Use DataView to filter data table[^]

Finally this is important one that you want
SQL Server - LIKE[^]
 
Share this answer
 
You could start with something like this[^].
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900