T
TheNortonZ
I have a couple of questions about how the ds.Update, AcceptChanges,
RejectChanges work.
I have a dataset with 8 tables. I perform a ds.Update separately for each
one of these tables. Most of these tables are not related.
1. Should I be calling ds.AcceptChanges right after the call to ds.Update?
2. Is there a point in time when AcceptChanges will be called automatically.
3. Assume that I do not call AcceptChanges. If I return to the calling
component and then do a ds.RejectChanges, do all of my ds.Updates get
cancelled?
I am trying to figure out when it is past the point of no return to do a
ds.RejectChanges. Given that I have so many ds.Update statements being
called, it would seem that I might not be able to roll all of these back
since the changes are in the database already.
Thanks!
Norton
RejectChanges work.
I have a dataset with 8 tables. I perform a ds.Update separately for each
one of these tables. Most of these tables are not related.
1. Should I be calling ds.AcceptChanges right after the call to ds.Update?
2. Is there a point in time when AcceptChanges will be called automatically.
3. Assume that I do not call AcceptChanges. If I return to the calling
component and then do a ds.RejectChanges, do all of my ds.Updates get
cancelled?
I am trying to figure out when it is past the point of no return to do a
ds.RejectChanges. Given that I have so many ds.Update statements being
called, it would seem that I might not be able to roll all of these back
since the changes are in the database already.
Thanks!
Norton