Table 25-3. DataRow methods
AcceptChanges( )
|
Commits all changes made to the row since the last time it was loaded
or since the last time changes were committed.
|
BeginEdit( )
|
Puts the row into edit mode, suspending the events that trigger
validation rules.
|
CancelEdit( )
|
Cancels the edit on the row, discarding any changes.
|
ClearErrors( )
|
Clears both row and column errors for the row.
|
Delete( )
|
If the row is newly added, it is removed from the table. Otherwise,
the row is marked for deletion.
|
EndEdit( )
|
Ends the edit on the row, committing the changes made.
|
GetChildRows( )
|
Gets an array of child rows for the row, based on a specified
relationship.
|
GetColumnError( )
|
Gets the error description for a specified column in the row.
|
GetColumnsInError( )
|
Gets the array of columns in the row having errors.
|
GetParentRow( )
|
Gets the parent row for the row, based on a relation.
|
GetParentRows( )
|
Gets an array of rows that are the parent rows of the row, based on a
specified relationship.
|
HasVersion( )
|
Returns a value indicating whether the specified version of the row
exists.
|
IsNull( )
|
Returns a value indicating whether the specified column in the row
contains a null value.
|
RejectChanges( )
|
Rejects all changes made to the row since the last time it was loaded
or since the last time changes were committed.
|
SetColumnError( )
|
Sets the error description for a specified column in the row.
|
SetParentRow( )
|
Sets the parent row of the row to the specified row.
|