SqlDataSource Events

The data source that allows you to bind Windows Forms data-aware controls to a database (in read-only mode) using specified data connection options.
Name Description
ConfigureDataConnection Allows you to customize connection settings before connecting to a database.
ConnectionError Fires after an attempt to establish a data connection has failed.
CustomizeFilterExpression Allows you to include WHERE clauses in SQL queries.
Disposed Occurs when the component is disposed by a call to the Dispose() method. Inherited from Component.
ValidateCustomSqlQuery Provides the capability to check the validity of the custom SQL query used to supply the data source with data.
ValidateCustomSqlQueryGlobal static Provides the capability to check the validity of the custom SQL query used to supply SQL data sources with data.
See Also