This documentation is archived and is not being maintained.

DetailsView.CreateAutoGeneratedRow Method

Creates an AutoGeneratedField object that represents an automatically generated row field using the specified field properties.

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in system.web.dll)

protected virtual AutoGeneratedField CreateAutoGeneratedRow (
	AutoGeneratedFieldProperties fieldProperties
)
protected AutoGeneratedField CreateAutoGeneratedRow (
	AutoGeneratedFieldProperties fieldProperties
)
protected function CreateAutoGeneratedRow (
	fieldProperties : AutoGeneratedFieldProperties
) : AutoGeneratedField
Not applicable.

Parameters

fieldProperties

An AutoGeneratedFieldProperties that contains the properties for the AutoGeneratedField.

Return Value

An AutoGeneratedField that contains the field properties specified by the fieldProperties parameter.

The CreateAutoGeneratedRow method is a helper method called by the DetailsView control to create an automatically generated row field using the specified field properties.

Notes to Inheritors: When extending the DetailsView class, you can override this method to create your own automatically generated row field.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0
Show: