0

Hello,

I have been having a heck of a time using a Listbox with a BindingList object as the datasource. I have finally managed to get the ListBox to update when changes are made to existing items in the BindingList object. When removing items from the list I had to use .RemoveAt rather than .Remove. Now, the last thing I need to do is have the list update when a new item is added. No matter what I try, the listbox will not update.

The initial loading of the listbox works fine.

Removing the datasource and it back does not seem to work.


Has anyone managed to to this?

Thanks,

Tim

1
Contributor
1
Reply
3
Views
6 Years
Discussion Span
Last Post by tjfitz68
0

Update: The ListBox was updating. I was forgetting to update the value of the ListBox.DisplayMember.

Tim

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.