System.Data Namespace DataRow Class
Sets or retrieves the data stored in the column specified by index.
Object variable = DataRow.Item [ columnIndex ];
... or ...
Object variable = DataRow [ columnIndex ];
dim variable as Object = DataRow.Item ( columnIndex )
... or ...
dim variable as Object = DataRow ( columnIndex )
variable : Object = DataRow.Item ( columnIndex );
... or ...
variable : Object = DataRow ( columnIndex ); |
|
C# |
VB |
JScript |
- columnIndex
- The zero-based index of the column
An Object that contains the data.
When setting the property, an exception will be thrown if an exception occurs in the ColumnChanging event.
If this is an edit, see EndEdit for the exceptions that can be thrown.
DataRow Members DataRow.Item Overload List