DataRowView::Item Property (Int32)

 

Gets or sets a value in a specified column.

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

public:
property Object^ default[
	int ndx
] {
	Object^ get(int ndx);
	void set(int ndx, Object^ value);
}

Parameters

ndx
Type: System::Int32

The specified column.

Property Value

Type: System::Object^

The value of the column.

The following example displays the value in each item of each DataRowView in a DataView.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 1.1
Return to top
Show: