DataRow EndEdit and AcceptChanges

  • Thread starter Thread starter Marc
  • Start date Start date
M

Marc

I found this in MSDN:

"The BeginEdit method is called implicitly when the user changes the value
of a data-bound control; the EndEdit method is called implicitly when you
invoke the AcceptChanges method for the DataTable object."

But what about the other way around? If I call EndEdit is AcceptChanges
invoked?

Since trying some test code, it seems to be that way. I am still trying to
understand what the connection is between RowState, BeginEdit and EndEdit,
and DataRowVersion.

Does calling EndEdit have influence on RowState, directly or indirectly?
 
Back
Top