System.Web.UI.WebControls.GridView.InitializeRow Method

Initializes a row in the System.Web.UI.WebControls.GridView control.

Syntax

protected virtual void InitializeRow (GridViewRow row, DataControlField[] fields)

Parameters

row
A System.Web.UI.WebControls.GridViewRow that represents the row to initialize.
fields
An array of System.Web.UI.WebControls.DataControlField objects that represent the column fields in the System.Web.UI.WebControls.GridView control.

Remarks

The GridView.InitializeRow(GridViewRow, DataControlField[]) method is used to initialize a row in the System.Web.UI.WebControls.GridView control.

Note:

This method is used primarily by control developers to extend the System.Web.UI.WebControls.GridView control.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0