System.Web.UI.Design.DataSourceDesigner.OnSchemaRefreshed Method

Raises the DataSourceDesigner.SchemaRefreshed event when the schema of the data source has changed and the DataSourceDesigner.SuppressingDataSourceEvents value is false.

Syntax

protected virtual void OnSchemaRefreshed (EventArgs e)

Parameters

e
An EventArgs object.

Remarks

The DataSourceDesigner.OnSchemaRefreshed(EventArgs) method notifies the control designers of each control that is bound to the associated data source that the fields in the schema have changed. The DataSourceDesigner.OnSchemaRefreshed(EventArgs) method can be suppressed with the DataSourceDesigner.SuppressDataSourceEvents method or by calling the DataSourceDesigner.RefreshSchema(bool) property with an argument of false.

Requirements

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