Retrieves the values of each field declared within the specified row and stores them in the specified System.Collections.Specialized.IOrderedDictionary object.
- 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.
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.