BaseDataBoundControlDesigner.DisconnectFromDataSource Method ()


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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 abstract void DisconnectFromDataSource()

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