BaseDataListDesigner.OnDataSourceChanged Method ()

 
System_CAPS_noteNote

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

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

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

protected internal virtual void OnDataSourceChanged()

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.

.NET Framework
Available since 1.1
Return to top
Show: