GridView.InitializeRow(GridViewRow, DataControlField[]) Method

Definition

Initializes a row in the GridView control.

C#
protected virtual void InitializeRow(System.Web.UI.WebControls.GridViewRow row, System.Web.UI.WebControls.DataControlField[] fields);

Parameters

row
GridViewRow

A GridViewRow that represents the row to initialize.

fields
DataControlField[]

An array of DataControlField objects that represent the column fields in the GridView control.

Remarks

The InitializeRow method is used to initialize a row in the GridView control.

Note

This method is used primarily by control developers to extend the GridView control.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also