System.Web.UI.WebControls.DetailsView.CreateAutoGeneratedRow Method

Creates an System.Web.UI.WebControls.AutoGeneratedField object that represents an automatically generated row field using the specified field properties.

Syntax

protected virtual AutoGeneratedField CreateAutoGeneratedRow (AutoGeneratedFieldProperties fieldProperties)

Parameters

fieldProperties
An System.Web.UI.WebControls.AutoGeneratedFieldProperties that contains the properties for the System.Web.UI.WebControls.AutoGeneratedField.

Returns

An System.Web.UI.WebControls.AutoGeneratedField that contains the field properties specified by the fieldProperties parameter.

Remarks

The DetailsView.CreateAutoGeneratedRow(AutoGeneratedFieldProperties) method is a helper method called by the System.Web.UI.WebControls.DetailsView control to create an automatically generated row field using the specified field properties.

Requirements

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