ComponentOne DataObjects for .NET
BeginEdit Method

C1.Data.2 Assembly > C1.Data Namespace > C1DataRow Class : BeginEdit Method
Begins an edit operation on the row.
Syntax
'Declaration
 
Public Sub BeginEdit() 
public void BeginEdit()
Remarks
Use the BeginEdit method to put a C1DataRow into edit mode. In this mode, validation is temporarily suspended allowing the user to make changes to more than one field in more than one row. The BeginEdit method is called implicitly when the user positions to a row in a data-bound control; the EndEdit method is called implicitly when you invoke AcceptChanges or C1DataSet.Update methods. While in edit mode, the C1DataRow stores representations of the current and new proposed values Therefore, as long as the EndEdit method has not been called, you can retrieve either the current or proposed version by passing either DataRowVersionEnum.Current or DataRowVersionEnum.Proposed for the Version parameter of the Item property. You can also cancel any edits by invoking the CancelEdit method. To see if the row is in edit mode, call the HasVersion method with DataRowVersionEnum.Proposed.
See Also

Reference

C1DataRow Class
C1DataRow Members
C1DataRow Class