I has 4 item on my form………
tow listbox ,one button and one text box
I has a listbox ‘A’ with many items…..
i need a item in a listbox ‘B’ from listbox ‘A’
steps are as follow…..that i like to performe………..
1)enter a word or character in a textbox
2)press a button
3)the list appear in listbox ‘B’…….that is character or string start in listbox ‘A’ that is we write in textbox (for matching)
i need a help in which a item that can be in listbox ‘B’ is getting for listbox ‘A’
that is Starting string or character we enter in the text box.
please try to solve me out……….
Not quite sure I follow. Using the text box’ Changed event would be a good trigger instead of a button. Just iterate the list items and check for a match with String.StartsWith. For example: