DataControlFieldCell Constructor (DataControlField)


Initializes a new instance of the DataControlFieldCell class, setting the specified DataControlField object as the cell's container.

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

public DataControlFieldCell(
	DataControlField containingField


Type: System.Web.UI.WebControls.DataControlField

The DataControlField that contains the current cell.

This constructor uses the HtmlTextWriterTag.Td element defined by its base class to render the cell. The DataControlField object passed in the containingField parameter is used to determine whether to show headers and what styles to apply to the cell when it is rendered.

.NET Framework
Available since 2.0
Return to top