DataGridColumnStyle.SetColumnValueAtRow Method (CurrencyManager, Int32, Object)

 
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.

Sets the value in a specified row with the value from a specified CurrencyManager.

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

protected internal virtual void SetColumnValueAtRow(
	CurrencyManager source,
	int rowNum,
	object value
)

Parameters

source
Type: System.Windows.Forms.CurrencyManager

A CurrencyManager associated with the DataGridColumnStyle.

rowNum
Type: System.Int32

The number of the row.

value
Type: System.Object

The value to set.

Exception Condition
ArgumentException

The CurrencyManager object's Position does not match rowNum.

.NET Framework
Available since 1.1
Return to top
Show: