DetailsView::InitializeRow Method (DetailsViewRow^, DataControlField^)

 
System_CAPS_noteNote

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

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
)

Parameters

row
Type: System.Web.UI.WebControls::DetailsViewRow^

The DetailsViewRow to initialize.

field
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
Show: