PerformDataBinding Method
TOC
Collapse the table of content
Expand the table of content

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 internal override void PerformDataBinding(
	IEnumerable data
)

Parameters

data
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
Show:
© 2016 Microsoft