Skip to main content

SqlQuery Class

A formalized description of a database query used to select data from SqlDataSource.

Namespace: DevExpress.DataAccess.Sql

Assembly: DevExpress.DataAccess.v22.2.dll

NuGet Package: DevExpress.DataAccess


public abstract class SqlQuery :


The result of any query is always a two-dimensional table containing the data records.

The SqlDataSource class exposes the SqlDataSource.Queries property that provides access to a collection of SqlQuery objects.

The following code snippets (auto-collected from DevExpress Examples) contain references to the SqlQuery class.


The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also