Hey
I don't know, what the problem in my program is. - I add some Data to the Bindingsource through code.
I don't see the changes on the screen, but when I SubmitChanges() and reopen the form again, everything is there.
So, is there a way to re-read the bindingsource DataSource?
Like: Datacontext.Refetch - or BindingSouce.Refetch...
THX
Re-Read Bindingsource's Data
For refreshing your BindingSource you can use the code like the following:
Code: Select all
bindingSource1.CurrencyManager.Refresh();