DataSourceDesigner.OnDataSourceChanged Method

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

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

protected:
virtual void OnDataSourceChanged (
	EventArgs^ e
)
protected void OnDataSourceChanged (
	EventArgs e
)
protected function OnDataSourceChanged (
	e : EventArgs
)
Not applicable.

Parameters

e

An EventArgs object provided by the calling object.

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

Windows 98, Windows Server 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show: