Back to Devexpress

SqlDataSource Properties

corelibraries-devexpress-dot-dataaccess-dot-sql-dot-sqldatasource-dot-underscore-properties.md

latest4.7 KB
Original Source

SqlDataSource Properties

The data source that allows you to bind data-aware controls to a database (in read-only mode) using specified data connection options.

NameDescription
AllowCustomSqlQueries staticSpecifies whether a user can add custom SQL queries to fill the SqlDataSource.
CanRaiseEvents protectedGets a value indicating whether the component can raise an event. Inherited from Component.
ConnectionProvides access to the data connection settings of the SqlDataSource.
ConnectionNameSpecifies the name of a data connection in the App.config file.
ConnectionOptionsProvides access to the data connection options of the SqlDataSource.
ConnectionParametersSpecifies the data connection settings of the SqlDataSource.
ContainerGets the IContainer that contains the Component. Inherited from Component.
DBSchemaGets the schema of the connected SQL data source.
DesignMode protectedGets a value that indicates whether the Component is currently in design mode. Inherited from Component.
DisableCustomQueryValidation staticGets or sets whether the validation of custom SQL queries is performed.
Events protectedGets the list of event handlers that are attached to this Component. Inherited from Component.
NameInherited from DataComponentBase.
QueriesProvides access to the collection of queries defined for the SqlDataSource.
RelationsProvides access to the collection of master-detail relations of the SqlDataSource.
RemoveCommentsBeforeExecution static
ResultGets a collection of tables and their relations from the current SqlDataSource.
SiteGets or sets the ISite of the Component. Inherited from Component.

See Also

SqlDataSource Class

SqlDataSource Members

DevExpress.DataAccess.Sql Namespace