System.Web.UI.WebControls.DetailsView.CreateChildControls Method

Creates the control hierarchy used to render the System.Web.UI.WebControls.DetailsView control.

Syntax

protected override int CreateChildControls (IEnumerable data, bool dataBinding)

Parameters

data
Documentation for this section has not yet been entered.
dataBinding
true to indicate that this method is being called during data binding; otherwise, false.

Returns

The number of items in the data source.

Remarks

The DetailsView.CreateChildControls(IEnumerable, bool) method is a helper method called by the System.Web.UI.WebControls.DetailsView control to create the control hierarchy for the control.

Requirements

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