Wednesday, March 24, 2010

When giving DataSource to a BindingSource shows only the cachedList Items.

Programmer Question

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?



Find the answer here

No comments:

Post a Comment

LinkWithin

Related Posts with Thumbnails