DetailsViewDesigner.DataBind(BaseDataBoundControl) Method

Definition

Binds the associated control to the design-time data source.

protected override void DataBind (System.Web.UI.WebControls.BaseDataBoundControl dataBoundControl);

Parameters

dataBoundControl
BaseDataBoundControl

The DetailsView control to bind to the design-time data source.

Remarks

The DataBind method binds the associated DetailsView control to the design-time data source and calculates the number of pager and automatically generated rows that are required, based on features that are specified for the DetailsView.

The dataBoundControl parameter represents the DetailsView control that is associated with this designer, or a copy of that control.

Applies to

Product Versions
.NET Framework 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

See also