8
Answers

c#.net listbox update problem

Forgive me if this has been asked before (it's quite probable), but I'm fairly new to c#.net.  I want to allow users to update the selected string item in a listbox (by selecting an item from a dropdown list), but because there are some identical strings in the listbox the first instance of a given string is updated rathere than the selected string.  I can assign distinct values to the Value property, but not to the diplayed strings.  I would have expected a straightforweard updating of the string at a given index (selectedindex) - am I missing something or doing something wrong?   Thanks in advance for any pointers

Answers (8)