I have emp textbox. The textbox contain names.I want to enter some name in tex开发者_JAVA百科t box and corresponding entries should be visible. Please tell me anyone.
You need the ASP.NET Ajax AutoComplete control.
I think your are telling about autocomplete Feature. If Then You can Use AutoComplete Feature in many ways
- By Using AutoComplete Property of TextBox, Providing A collection object to it
- By hooking up KeyPress Event, If User Presses "Enter" Button You can do the retrieval
for Eg . txtemp_KeyPress() { Do Some Retrival Logic }
Sample Data Retrival With Autocomplete in c#
Sample Tutorial For AutoComplete
Documentation For Auto Complete
Hope i helped u in the problem
精彩评论