DetailsView.EnsureDataBound Method ()


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

This API supports the product infrastructure and is not intended to be used directly from your code.

Calls the DataBind method after verifying that the data listing control requires data binding and that a valid data source control is specified.

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

override EnsureDataBound : unit -> unit

The data binding does not occur if the DetailsView control is in Insert mode.

Notes to Inheritors:

When extending the DetailsView class, you can override this method to implement additional processing before the control is data-bound.

.NET Framework
Available since 2.0
Return to top