DataGridColumnStyle::GetColumnValueAtRow Method (CurrencyManager^, Int32)

 

Gets the value in the specified row from the specified CurrencyManager.

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public protected:
virtual Object^ GetColumnValueAtRow(
	CurrencyManager^ source,
	int rowNum
)

Parameters

source
Type: System.Windows.Forms::CurrencyManager^

The CurrencyManager containing the data.

rowNum
Type: System::Int32

The row number containing the data.

Return Value

Type: System::Object^

An Object containing the value.

Exception Condition
ApplicationException

The DataColumn for this DataGridColumnStyle hasn't been set yet.

If the data source for the column is a DataTable, use the ColumnChanging or RowChanging events to determine when a row or column value has changed.

.NET Framework
Available since 1.1
Return to top
Show: