Click here to Skip to main content
16,004,828 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
while typing an alphabet in textbox retrive all the names starting with that particular letter from database and display this in gridview
Posted
Updated 18-Mar-13 20:23pm
v2
Comments
Sergey Alexandrovich Kryukov 19-Mar-13 2:18am    
What "all the value"? Does not seem to make any sense right now, but you can use "Improve question", above.
—SA

1 solution

Just use

Select name from table where name like textYouTypedIn + '%'

and bind the results to your gridview.
 
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