Export (0) Print
Expand All

DataSourceDesigner.OnSchemaRefreshed Method

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

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

protected virtual void OnSchemaRefreshed(
	EventArgs e


Type: System.EventArgs

An EventArgs object.

The OnSchemaRefreshed 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 OnSchemaRefreshed method can be suppressed with the SuppressDataSourceEvents method or by calling the RefreshSchema property with an argument of false.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0
© 2015 Microsoft