System.Web.UI.WebControls.GridView.ExtractRowValues Method

Retrieves the values of each field declared within the specified row and stores them in the specified System.Collections.Specialized.IOrderedDictionary object.

Syntax

protected virtual void ExtractRowValues (System.Collections.Specialized.IOrderedDictionary fieldValues, GridViewRow row, bool includeReadOnlyFields, bool includePrimaryKey)

Parameters

fieldValues
An System.Collections.Specialized.IOrderedDictionary used to store the field values.
row
The System.Web.UI.WebControls.GridViewRow from which to retrieve the field values.
includeReadOnlyFields
true to include read-only fields; otherwise, false.
includePrimaryKey
true to include the primary key field or fields; otherwise, false.

Remarks

The GridView.ExtractRowValues(System.Collections.Specialized.IOrderedDictionary, GridViewRow, bool, bool) method is a helper method called by the System.Web.UI.WebControls.GridView control to retrieve the values of each field declared within the row specified by the row parameter. You can specify whether the extracted values include read-only fields and key fields by using the includeReadOnlyFields and includePrimaryKey parameters, respectively.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0