A regular list has no way of notifying what it is bound to that it has
changed. You will have to implement IBindingList, which will give the list
a mechanism to know when items changed in the list.
You can also use BindingList<T>, which implements IBindingList, but you
will have to work with that everywhere, as it makes a copy of the collection
you pass to it, it doesn't hold a reference to the original.
--
- Nicholas Paldino [.NET/C# MVP]
-
(E-Mail Removed)
"csharpula csharp" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hello,I use the following data binding: controlA.DataSource = someList;.
> The someList content changes due to some other form object behaivior and
> controlA still presents not updated data.Why? Isn't DataSource provides
> binding that holding a reference to the binded list? How can I solve
> this? Thank you!
>
>
>
> *** Sent via Developersdex http://www.developersdex.com ***