System.Web.UI.WebControls.DetailsView.CreateRow Method

Creates a System.Web.UI.WebControls.DetailsViewRow object using the specified item index, row type, and row state.

Syntax

protected virtual DetailsViewRow CreateRow (int rowIndex, DataControlRowType rowType, DataControlRowState rowState)

Parameters

rowIndex
The zero-based index of the data item to display.
rowType
One of the System.Web.UI.WebControls.DataControlRowType values.
rowState
One of the System.Web.UI.WebControls.DataControlRowState values.

Returns

A System.Web.UI.WebControls.DetailsViewRow with the specified item index, row type, and row state.

Remarks

Requirements

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