When giving DataSource to a BindingSource shows only the cachedList Items.
Posted
by gtas
on Stack Overflow
See other posts from Stack Overflow
or by gtas
Published on 2010-03-24T20:51:25Z
Indexed on
2010/03/24
20:53 UTC
Read the original article
Hit count: 422
c#3.0
|databinding
I have a BindingSource on a form with MyObject Datasource. I Open another form and passing MyObject where i give its EntitySetObject reference to another BindingSource. Everything ok.
Deleting an Entity on EntitySetObject reference and closing the form with EndEdit(). OK. Back in the "First" form i add one Entity in MyObject.EntitySetObject and again opening the form. But i have noticed that when giving the datasource to the BindingSource i have 2 items in cachedlist and 3 entities. Control now shows only the 2 cached items.
Any Idea?
© Stack Overflow or respective owner