Using Select Statement to retrieve data from SQL Server 2005 database
Please support our VB.NET advertiser: DiscountASP.NET – 3 Months Free on VB.NET Web Hosting
![]() |
•
•
Posts: 3
Reputation:
Solved Threads: 0
Please friends am working on a project in which am trying to make it possible that when the first letter/alphabet of a name is keyed into a textbox linked to a search button and when the search button is pressed, all the names/rows begining with that first letter will appear in the Data Gridview provided for it.
Please i need the right SQL Select command statement to achieve this.You can also email me to brunosollozo42006@yahoo.com.Thank you!
Please i need the right SQL Select command statement to achieve this.You can also email me to brunosollozo42006@yahoo.com.Thank you!
You will need to use the LIKE operator with the % wildcard. There's more information here:
http://www.techonthenet.com/sql/like.php
http://www.techonthenet.com/sql/like.php
![]() |
Similar Threads
Other Threads in the VB.NET Forum
Other Threads in the VB.NET Forum
- Previous Thread: Getting the sum and average help!
- Next Thread: help with array please
•
•
•
•
Views: 852 | Replies: 1 | Currently Viewing: 1 (0 members and 1 guests)





Linear Mode