DataRow Methods
.NET Framework 4.5
The DataRow type exposes the following members.
| Name | Description | |
|---|---|---|
|
AcceptChanges | Commits all the changes made to this row since the last time AcceptChanges was called. |
|
BeginEdit | Starts an edit operation on a DataRow object. |
|
CancelEdit | Cancels the current edit on the row. |
|
ClearErrors | Clears the errors for the row. This includes the RowError and errors set with SetColumnError. |
|
Delete | Deletes the DataRow. |
|
EndEdit | Ends the edit occurring on the row. |
|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) |
|
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) |
|
GetChildRows(DataRelation) | Gets the child rows of this DataRow using the specified DataRelation. |
|
GetChildRows(String) | Gets the child rows of a DataRow using the specified RelationName of a DataRelation. |
|
GetChildRows(DataRelation, DataRowVersion) | Gets the child rows of a DataRow using the specified DataRelation, and DataRowVersion. |
|
GetChildRows(String, DataRowVersion) | Gets the child rows of a DataRow using the specified RelationName of a DataRelation, and DataRowVersion. |
|
GetColumnError(DataColumn) | Gets the error description of the specified DataColumn. |
|
GetColumnError(Int32) | Gets the error description for the column specified by index. |
|
GetColumnError(String) | Gets the error description for a column, specified by name. |
|
GetColumnsInError | Gets an array of columns that have errors. |
|
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) |
|
GetParentRow(DataRelation) | Gets the parent row of a DataRow using the specified DataRelation. |
|
GetParentRow(String) | Gets the parent row of a DataRow using the specified RelationName of a DataRelation. |
|
GetParentRow(DataRelation, DataRowVersion) | Gets the parent row of a DataRow using the specified DataRelation, and DataRowVersion. |
|
GetParentRow(String, DataRowVersion) | Gets the parent row of a DataRow using the specified RelationName of a DataRelation, and DataRowVersion. |
|
GetParentRows(DataRelation) | Gets the parent rows of a DataRow using the specified DataRelation. |
|
GetParentRows(String) | Gets the parent rows of a DataRow using the specified RelationName of a DataRelation. |
|
GetParentRows(DataRelation, DataRowVersion) | Gets the parent rows of a DataRow using the specified DataRelation, and DataRowVersion. |
|
GetParentRows(String, DataRowVersion) | Gets the parent rows of a DataRow using the specified RelationName of a DataRelation, and DataRowVersion. |
|
GetType | Gets the Type of the current instance. (Inherited from Object.) |
|
HasVersion | Gets a value that indicates whether a specified version exists. |
|
IsNull(DataColumn) | Gets a value that indicates whether the specified DataColumn contains a null value. |
|
IsNull(Int32) | Gets a value that indicates whether the column at the specified index contains a null value. |
|
IsNull(String) | Gets a value that indicates whether the named column contains a null value. |
|
IsNull(DataColumn, DataRowVersion) | Gets a value that indicates whether the specified DataColumn and DataRowVersion contains a null value. |
|
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) |
|
RejectChanges | Rejects all changes made to the row since AcceptChanges was last called. |
|
SetAdded | Changes the Rowstate of a DataRow to Added. |
|
SetColumnError(DataColumn, String) | Sets the error description for a column specified as a DataColumn. |
|
SetColumnError(Int32, String) | Sets the error description for a column specified by index. |
|
SetColumnError(String, String) | Sets the error description for a column specified by name. |
|
SetModified | Changes the Rowstate of a DataRow to Modified. |
|
SetNull | Sets the value of the specified DataColumn to a null value. |
|
SetParentRow(DataRow) | Sets the parent row of a DataRow with specified new parent DataRow. |
|
SetParentRow(DataRow, DataRelation) | Sets the parent row of a DataRow with specified new parent DataRow and DataRelation. |
|
ToString | Returns a string that represents the current object. (Inherited from Object.) |
| Name | Description | |
|---|---|---|
|
Field<T>(DataColumn) | Overloaded. Provides strongly-typed access to each of the column values in the specified row. The Field method also supports nullable types. (Defined by DataRowExtensions.) |
|
Field<T>(Int32) | Overloaded. Provides strongly-typed access to each of the column values in the specified row. The Field method also supports nullable types. (Defined by DataRowExtensions.) |
|
Field<T>(String) | Overloaded. Provides strongly-typed access to each of the column values in the specified row. The Field method also supports nullable types. (Defined by DataRowExtensions.) |
|
Field<T>(DataColumn, DataRowVersion) | Overloaded. Provides strongly-typed access to each of the column values in the specified row. The Field method also supports nullable types. (Defined by DataRowExtensions.) |
|
Field<T>(Int32, DataRowVersion) | Overloaded. Provides strongly-typed access to each of the column values in the specified row. The Field method also supports nullable types. (Defined by DataRowExtensions.) |
|
Field<T>(String, DataRowVersion) | Overloaded. Provides strongly-typed access to each of the column values in the specified row. The Field method also supports nullable types. (Defined by DataRowExtensions.) |
|
SetField<T>(DataColumn, T) | Overloaded. Sets a new value for the specified column in the DataRow. The SetField method also supports nullable types. (Defined by DataRowExtensions.) |
|
SetField<T>(Int32, T) | Overloaded. Sets a new value for the specified column in the DataRow the method is called on. The SetField method also supports nullable types. (Defined by DataRowExtensions.) |
|
SetField<T>(String, T) | Overloaded. Sets a new value for the specified column in the DataRow. The SetField method also supports nullable types. (Defined by DataRowExtensions.) |