M
Mike.Net
Guest
This is probably a trivial question, but it has me stumped.
I have a DataSet that is associated with a BindingSource which is associated with a BindingNavigator all on a winform application in order to give users the ability to cycle through items.
What Im trying to do is respond to certain events and manually update some fields in the DataTable.
What I expected would happen is that the GUI (textboxes) would then reflect these new values. However, unless I call EndEdit() or ResetBindings() on the BindingSouce this isnt happening.
Im assuming that until the DataRow is updated by calling EndEdit() on either the DataRow or the BindingSource and therefore fires off ListChanged that the BindingSource isnt aware of these changes?
I would have thought that the BindingSource would be aware of any changes be they "Proposed" or "Current".
Continue reading...
I have a DataSet that is associated with a BindingSource which is associated with a BindingNavigator all on a winform application in order to give users the ability to cycle through items.
What Im trying to do is respond to certain events and manually update some fields in the DataTable.
What I expected would happen is that the GUI (textboxes) would then reflect these new values. However, unless I call EndEdit() or ResetBindings() on the BindingSouce this isnt happening.
Im assuming that until the DataRow is updated by calling EndEdit() on either the DataRow or the BindingSource and therefore fires off ListChanged that the BindingSource isnt aware of these changes?
I would have thought that the BindingSource would be aware of any changes be they "Proposed" or "Current".
Continue reading...