Skip to main content

SqlDataSourceUIHelper.ManageQueries(SqlDataSource, EditQueryContext) Method

Invokes the Manage Queries dialog window with the specified settings.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v22.1.UI.dll

NuGet Package: DevExpress.DataAccess.UI


public static bool ManageQueries(
    this SqlDataSource sqlDataSource,
    EditQueryContext context


Name Type Description
sqlDataSource SqlDataSource

A SqlDataSource object, specifying the database connection.

context EditQueryContext

An EditQueryContext object, specifying the Manage Queries dialog settings.


Type Description

true if the dialog was finished by clicking the OK button; otherwise, false.


The following image illustrates the Manage Queries dialog window that is invoked after selecting an appropriate SqlDataSource action (corresponds to calling the ManageQueries method of the SqlDataSourceUIHelper class).


After adding two or more queries to a data connection, it becomes possible to configure their data relations by using the Master-Detail Relations Editor (invoked by calling the SqlDataSourceUIHelper.ManageRelations method of the SqlDataSourceUIHelper class).


See Also