Export (0) Print
Expand All
Expand Minimize

DataRowAction Enumeration

Describes an action performed on a DataRow.

This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.

[Visual Basic]
<Flags>
<Serializable>
Public Enum DataRowAction
[C#]
[Flags]
[Serializable]
public enum DataRowAction
[C++]
[Flags]
[Serializable]
__value public enum DataRowAction
[JScript]
public
   Flags
 Serializable
enum DataRowAction

Remarks

A DataRowAction is returned as part of the DataRowChangeEventArgs to indicate the action that was taken on a row to raise the event.

Use the members of this enumeration to determine the action that has occurred on a DataRow with respect to the DataTable to which it belongs.

Members

Member name Description Value
Add

Supported by the .NET Compact Framework.

The row has been added to the table. 16
Change

Supported by the .NET Compact Framework.

The row has changed. 2
Commit

Supported by the .NET Compact Framework.

The changes to the row have been committed. 8
Delete

Supported by the .NET Compact Framework.

The row was deleted from the table. 1
Nothing

Supported by the .NET Compact Framework.

The row has not changed. 0
Rollback

Supported by the .NET Compact Framework.

The most recent change to the row has been rolled back. 4

Requirements

Namespace: System.Data

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, .NET Compact Framework

Assembly: System.Data (in System.Data.dll)

See Also

System.Data Namespace | DataRow | DataTable

Show:
© 2014 Microsoft