DetailsView.InitializeRow Method (DetailsViewRow, DataControlField)


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Initializes the specified DetailsViewRow object.

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

Protected Overridable Sub InitializeRow (
	row As DetailsViewRow,
	field As DataControlField


Type: System.Web.UI.WebControls.DetailsViewRow

The DetailsViewRow to initialize.

Type: System.Web.UI.WebControls.DataControlField

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.

.NET Framework
Available since 2.0
Return to top