DataControlFieldCell Constructor (HtmlTextWriterTag, DataControlField)
Assembly: System.Web (in system.web.dll)
protected:
DataControlFieldCell (
HtmlTextWriterTag tagKey,
DataControlField^ containingField
)
protected DataControlFieldCell ( HtmlTextWriterTag tagKey, DataControlField containingField )
protected function DataControlFieldCell ( tagKey : HtmlTextWriterTag, containingField : DataControlField )
Parameters
- tagKey
An HtmlTextWriterTag that specifies the HTML tag to render for the cell. The default tag used by the TableCell class is HtmlTextWriterTag.Td.
- containingField
The DataControlField that contains the current cell.
The tagKey parameter is passed to the WebControl base class constructor, and controls the HTML tag that is emitted by the control. The DataControlField 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.
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.