System.Web.UI.Design.WebControls.BaseDataListDesigner.OnDataSourceChanged Method

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

Syntax

protected virtual void OnDataSourceChanged ()

Remarks

The BaseDataListDesigner.OnDataSourceChanged base method connects the associated control that is derived from the System.Web.UI.WebControls.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.

Requirements

Namespace: System.Web.UI.Design.WebControls
Assembly: System.Design (in System.Design.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0