ListView.PerformDataBinding Method (IEnumerable)


Binds the ListView control to the specified data source.

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

Protected Friend Overrides Sub PerformDataBinding (
	data As IEnumerable


Type: System.Collections.IEnumerable

An object that implements the System.Collections.IEnumerable interface and that contains the data.

The PerformDataBinding method is a helper method that is called by the ListView control to bind the control to the specified data source.

Notes to Inheritors:

Because the DataBind method is sealed, you must override the PerformDataBinding method if you want to perform any additional tasks when binding data.

.NET Framework
Available since 3.5
Return to top