System.Web.UI.IDataSource.DataSourceChanged Event

Occurs when a data source control has changed in some way that affects data-bound controls.

Syntax

public event EventHandler DataSourceChanged

Remarks

The IDataSource.DataSourceChanged event is raised when the properties of a data-bound control or the underlying data has changed in some way that affects the data bindings between a data-bound control and its data. For example, the event is raised if a file name property, such as the System.Web.UI.WebControls.AccessDataSource.DataFile property, is changed on a file-based data source control.

For more information about handling events, see Consuming Events.

Requirements

Namespace: System.Web.UI
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 2.0.0.0
Since: .NET 2.0