Export (0) Print
Expand All

ListControl.PerformDataBinding Method

This method supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Binds the specified data source to the control that is derived from the ListControl class.

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

protected internal override void PerformDataBinding (
	IEnumerable dataSource
)
protected void PerformDataBinding (
	IEnumerable dataSource
)
protected internal override function PerformDataBinding (
	dataSource : IEnumerable
)
Not applicable.

Parameters

dataSource

An IEnumerable that represents the data source.

Exception typeCondition

ArgumentOutOfRangeException

The cached value of SelectedIndex is out of range.

ArgumentException

The cached values of SelectedIndex and SelectedValue do not match.

The PerformDataBinding method is a helper method that is called by the control that is derived from the ListControl class to bind the specified data source to the control.

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2014 Microsoft