SqlDataSource Properties

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
AllowCustomSqlQueries static Specifies whether or not custom SQL queries can be used to fill the SqlDataSource.
CanRaiseEvents protected Gets a value indicating whether the component can raise an event. Inherited from Component.
Connection Provides access to the data connection settings of the SqlDataSource.
ConnectionName Specifies the name of a data connection in the App.config file.
ConnectionOptions Provides access to the data connection options of the SqlDataSource.
ConnectionParameters Specifies the data connection settings of the SqlDataSource.
Container Gets the IContainer that contains the Component. Inherited from Component.
DBSchema Gets the schema of the connected SQL data source.
DesignMode protected Gets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DisableCustomQueryValidation static Gets or sets whether the validation of custom SQL queries is performed.
Events protected Gets the list of event handlers that are attached to this Component. Inherited from Component.
Queries Provides access to the collection of queries defined for the SqlDataSource.
Relations Provides access to the collection of master-detail relations of the SqlDataSource.
Result Gets a collection of tables and their relations from the current SqlDataSource.
Site Gets or sets the ISite of the Component. Inherited from Component.
See Also