ActiveDatabaseSoftware.ActiveQueryBuilder.Web.Control Namespace > QueryBuilderControl Class : DatasourceAdded Event |
'Declaration Public Event DatasourceAdded As DatasourceAddedEventHandler
'Usage Dim instance As QueryBuilderControl Dim handler As DatasourceAddedEventHandler AddHandler instance.DatasourceAdded, handler
public event DatasourceAddedEventHandler DatasourceAdded
public: __event DatasourceAddedEventHandler* DatasourceAdded
DatasourceAdded event is fired when a new datasource (database object, derived table or CTE) is added to the query.
You can use this event to add fields to the query, to link this DataSource with the others, etc.
The addedObject parameter refers to the newly added DataSource object.