System.Data.DataRow.ItemArray Property

Gets or sets all the values for this row through an array.

Syntax

public object[] ItemArray { set; get; }

Value

Documentation for this section has not yet been entered.

Remarks

You can use this property to set or get values for this row through an array. If you use this property to set values, the array must have the same size and ordering as the column collection. Passing null in the DataRow.ItemArray indicates that no value was specified.

Users can generate exceptions in the DataTable.ColumnChanging event or the DataTable.RowChanging event.

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0