System.Web.UI.WebControls.DetailsView.CreateAutoGeneratedRows Method

Creates a set of automatically generated row fields for the specified data item.

Syntax

protected virtual ICollection CreateAutoGeneratedRows (object dataItem)

Parameters

dataItem
The data item for which to create the automatically generated row fields.

Returns

An ICollection that contains the automatically generated row fields for the specified data item.

Remarks

When the DetailsView.AutoGenerateRows property is set to true, the DetailsView.CreateAutoGeneratedRows(object) method is called by the System.Web.UI.WebControls.DetailsView control to create a set of automatically generated row fields for the current data item.

Requirements

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