This documentation is archived and is not being maintained.

DetailsView.InitializeRow Method

Initializes the specified DetailsViewRow object.

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

protected virtual void InitializeRow (
	DetailsViewRow row,
	DataControlField field
protected void InitializeRow (
	DetailsViewRow row, 
	DataControlField field
protected function InitializeRow (
	row : DetailsViewRow, 
	field : DataControlField
Not applicable.



The DetailsViewRow to initialize.


The DataControlField that corresponds to the row.

The InitializeRow method is a helper method called by the DetailsView control to initialize the specified DetailsViewRow object. The row is initialized for the DataControlField object contained in the field parameter.

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

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