System.Web.UI.DataSourceControl.RaiseDataSourceChangedEvent Method

Raises the IDataSource.DataSourceChanged event.

Syntax

protected virtual void RaiseDataSourceChangedEvent (EventArgs e)

Parameters

e
An EventArgs that contains event data.

Remarks

The DataSourceControl.RaiseDataSourceChangedEvent(EventArgs) method notifies a data-bound control that the underlying data source or the data cached in memory has changed, and that the control should rebind and perform any necessary additional work. Typically, the DataSourceControl.RaiseDataSourceChangedEvent(EventArgs) method is called when a property of the data source control or a parameter value has changed.

Raising an event invokes the event handler through a delegate. For more information, see Raising an Event.

Requirements

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