BaseDataBoundControlDesigner::DisconnectFromDataSource Method ()

 

When overridden in a derived class, unhooks events from the current data source.

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

protected:
virtual void DisconnectFromDataSource() abstract

Notes to Inheritors:

Typically, when you override the DisconnectFromDataSource method, you will disconnect the DataSourceChanged and SchemaRefreshed events.

.NET Framework
Available since 2.0
Return to top
Show: