1
Reply

listview with comboBox selection

b b

b b

Jun 19 2009 2:37 AM
5.3k
hello, i have a comboBox and a listView in my form. ComboBox contains list of string items (eg: AB, CD, EF etc)and listBox also contains the same items(AB, CD, EF). Now when i select a particular item from the comboBox(eg: CD)I want that item should remove from the listView.After deleting the item from the listView,if i select another item in the comboBox, then previously deleted item should again added in the listView. I have already done the deleting part, but how to add the deleted item back in the listView once the selection is changed in the comboBox. plz advice. I am using .net windows application and C# as a language regards, bjb regards, bjb

Answers (1)