System.Web.UI.Design.DataSourceDesigner.OnDataSourceChanged Method

Raises the DataSourceDesigner.DataSourceChanged event when the properties of the data source have changed and the DataSourceDesigner.SuppressingDataSourceEvents value is false.

Syntax

protected virtual void OnDataSourceChanged (EventArgs e)

Parameters

e
An EventArgs object provided by the calling object.

Remarks

The DataSourceDesigner.OnDataSourceChanged(EventArgs) method notifies the control designers of each control that is bound to the associated data source to refresh its control in the design host. The DataSourceDesigner.OnDataSourceChanged(EventArgs) method can be suppressed with the DataSourceDesigner.SuppressDataSourceEvents method or by calling the DataSourceDesigner.RefreshSchema(bool) method with an argument of false.

Requirements

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