DataGridColumnStyle.GetColumnValueAtRow Method (CurrencyManager, Int32)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

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

protected internal 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: