I'm trying to autocomplete a textbox. I'm retrieving values from Access Database. Just one field from a data table. If anyone can help me. Thanks in advance
+3
A:
AutoCompleteStringCollection autoCompleteList =
new AutoCompleteStringCollection();
/* copy your datacolumn in to autoCompleteList iteratively here */
txtBox.AutoCompleteMode = AutoCompleteMode.SuggestAppend; /* or just Suggest */
txtBox.AutoCompleteCustomSource = autoCompleteList;
Veer
2010-03-16 07:48:46