This documentation is archived and is not being maintained.

BoundField.ExtractValuesFromCell Method

Note: This method is new in the .NET Framework version 2.0.

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
public void ExtractValuesFromCell (
	IOrderedDictionary dictionary, 
	DataControlFieldCell cell, 
	DataControlRowState rowState, 
	boolean includeReadOnly
public override function ExtractValuesFromCell (
	dictionary : IOrderedDictionary, 
	cell : DataControlFieldCell, 
	rowState : DataControlRowState, 
	includeReadOnly : boolean



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


The TableCell that contains the values to retrieve.


One of the DataControlRowState values.


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.


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.


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

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

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

.NET Framework

Supported in: 2.0