Export (0) Print
Expand All

BoundField.ExtractValuesFromCell Method

Fills the specified System.Collections.IDictionary object with the values from the specified TableCell object.

Namespace:  System.Web.UI.WebControls
Assembly:  System.Web (in System.Web.dll)

public override void ExtractValuesFromCell(
	IOrderedDictionary dictionary,
	DataControlFieldCell cell,
	DataControlRowState rowState,
	bool includeReadOnly
)

Parameters

dictionary
Type: System.Collections.Specialized.IOrderedDictionary

A System.Collections.IDictionary used to store the values of the specified cell.

cell
Type: System.Web.UI.WebControls.DataControlFieldCell

The TableCell that contains the values to retrieve.

rowState
Type: System.Web.UI.WebControls.DataControlRowState

One of the DataControlRowState values.

includeReadOnly
Type: System.Boolean

true to include the values of read-only fields; otherwise, false.

The ExtractValuesFromCell method is provided as a convenient way to retrieve the values of the fields from the specified TableCell object in a BoundField object.

NoteNote:

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 System.Collections.IDictionary object passed in for the dictionary parameter. After the method has been called, iterate through the System.Collections.IDictionary object to access the field values.

NoteNote:

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

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft