System.Web.UI.WebControls.BoundField.ExtractValuesFromCell Method

Fills the specified IDictionary object with the values from the specified System.Web.UI.WebControls.TableCell object.

Syntax

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

Parameters

dictionary
A IDictionary used to store the values of the specified cell.
cell
The System.Web.UI.WebControls.TableCell that contains the values to retrieve.
rowState
One of the System.Web.UI.WebControls.DataControlRowState values.
includeReadOnly
true to include the values of read-only fields; otherwise, false.

Remarks

The BoundField.ExtractValuesFromCell(System.Collections.Specialized.IOrderedDictionary, DataControlFieldCell, DataControlRowState, bool) method is provided as a convenient way to retrieve the values of the fields from the specified System.Web.UI.WebControls.TableCell object in a System.Web.UI.WebControls.BoundField object.

Note:

This method is used primarily by control developers.

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

Note:

If the System.Web.UI.WebControls.TableCell object contains read-only field values, you must pass in true for the includeReadOnly parameter to include those values.

Requirements

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