Click here to Skip to main content
15,921,250 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
when we enter "a " we have to get starting letter a based names in scrolling .but iam not understanidng which control has to be used .

What I have tried:

i used textbox control with scrollbar but am not understanding how to implement this
i used the below query .
String S = "SELECT COMPANY_CODE FROM COMPANYMASTER WHERE COMPANY_CODE LIKE '%"+txtcompanycode.Text+"%' ";


<TextBox Text="{Binding COMPANY_CODE}"  VerticalScrollBarVisibility="Visible" TextChanged="txtcompanycode_TextChanged" TextAlignment="Left"  FontSize="18" Name="txtcompanycode" Width="177" BorderBrush="Black" BorderThickness="1" Margin="0,10,0,20" />
Posted
Updated 6-Aug-17 20:16pm
Comments
sameer549 7-Aug-17 1:56am    
http://www.c-sharpcorner.com/UploadFile/dpatra/autocomplete-textbox-in-wpf/

1 solution

There are a number of different methods that people use. Google search turns up quite a few: wpf autocomplete textbox - Google Search[^]

The above search found the following on CodeProject:
* An easy to use WPF Autocomplete Textbox[^]
* WPF AutoComplete TextBox[^]

And others like:
* AutoCompleteBox: Now with 100% more WPF - Jeff Wilcox[^]
* WPF AutoCompleteBox. finally! ·[^]
 
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