HierarchicalDataBoundControlDesigner::ConnectToDataSource Method ()
.NET Framework (current version)
Performs the actions that are necessary to connect to the current data source.
Assembly: System.Design (in System.Design.dll)
Return Value
Type: System::Booleantrue if a connection to a new data source was performed; false if the old and new data source are the same.
The ConnectToDataSource method disconnects the DataSourceChanged and SchemaRefreshed events from the previous data source, and then attaches these events to the new data source.
.NET Framework
Available since 2.0
Available since 2.0
Show: