HyperLinkField.InitializeCell Method (DataControlFieldCell, DataControlCellType, DataControlRowState, Int32)
.NET Framework (current version)
Initializes a cell in a HyperLinkField object.
Assembly: System.Web (in System.Web.dll)
Public Overrides Sub InitializeCell ( cell As DataControlFieldCell, cellType As DataControlCellType, rowState As DataControlRowState, rowIndex As Integer )
Parameters
- cell
-
Type:
System.Web.UI.WebControls.DataControlFieldCell
A DataControlFieldCell that contains the text or controls of the HyperLinkField.
- cellType
-
Type:
System.Web.UI.WebControls.DataControlCellType
One of the DataControlCellType values.
- rowState
-
Type:
System.Web.UI.WebControls.DataControlRowState
One of the DataControlRowState values that specifies the state of the row containing the HyperLinkField.
- rowIndex
-
Type:
System.Int32
The index of the row in the table.
The InitializeCell method is called by the data-bound control that contains the HyperLinkField object to initialize a HyperLink control with the text and URL of the link.
.NET Framework
Available since 2.0
Available since 2.0
Show: