C#中的自动完成代码

i have area list in alphabet wise, i want to display it when i enter first letter in my textbox. Autocomplete code in C#

If jQuery is an option, you could take a look at the Autocomplete plugin.

Have a look at this AjaxControlToolkit:AutoComplete Extender is another option

If Silverlight is one of your options, then it will be a cake job:

Xaml:

<input:AutoCompleteBox x:name="myAutoCompleteBox"></input:AutoCompleteBox>

Code behind,

myAutoComplete.ItemsSource = "a b d e f g".Split(' ');

You can bind other events TextChanged(), SelectionChanged(), or do custom value bindings, custom filtermode.