System.Web.UI.WebControls.AutoGeneratedField.ExtractValuesFromCell Method

Fills the specified System.Collections.Specialized.IOrderedDictionary object with the values from the specified System.Web.UI.WebControls.DataControlFieldCell object.

Syntax

public override void ExtractValuesFromCell (System.Collections.Specialized.IOrderedDictionary dictionary, DataControlFieldCell cell, DataControlRowState rowState, bool includeReadOnly)

Parameters

dictionary
An System.Collections.Specialized.IOrderedDictionary used to store the values of the specified cell.
cell
The System.Web.UI.WebControls.DataControlFieldCell that contains the values to retrieve.
rowState
One of the System.Web.UI.WebControls.DataControlRowState values.
includeReadOnly
The value true includes only the values of read-only fields; otherwise, false.

Remarks

The AutoGeneratedField.ExtractValuesFromCell(System.Collections.Specialized.IOrderedDictionary, DataControlFieldCell, DataControlRowState, bool) method is a helper method used to retrieve the values of the fields from the specified System.Web.UI.WebControls.DataControlFieldCell object in an System.Web.UI.WebControls.AutoGeneratedField object.

Note:

This method is primarily used by control developers.

This method does not have a return value. Instead, the field values are returned by reference through the System.Collections.Specialized.IOrderedDictionary object passed in for the dictionary parameter. After the method has been called, iterate through the System.Collections.Specialized.IOrderedDictionary object to access the field values.

Note:

To include the read-only field values in the System.Web.UI.WebControls.DataControlFieldCell object, pass in true for the includeReadOnly parameter.

Requirements

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