BaseDataListDesigner.OnDataSourceChanged Method

Called when the data source for the associated control has changed.

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in

protected internal virtual void OnDataSourceChanged ()
protected void OnDataSourceChanged ()
protected internal function OnDataSourceChanged ()
Not applicable.

The OnDataSourceChanged base method connects the associated control that is derived from the BaseDataList class to the current data source, and if that is different from the data source to which the control was connected, the method updates the design-time markup.

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, 1.1, 1.0

Community Additions