Skip to main content

SqlDataSourceUIHelper.EditQuery(SqlQuery) Method

Invokes the Query Builder to edit the specified query.

Namespace: DevExpress.DataAccess.UI.Sql

Assembly: DevExpress.DataAccess.v24.2.UI.dll

Declaration

public static bool EditQuery(
    this SqlQuery query
)

Parameters

Name Type Description
query SqlQuery

A SqlQuery to be edited.

Returns

Type Description
Boolean

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

Remarks

The following image illustrates the Query Builder.

data-access-sql-data-source-ui-helper-query-designer

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the EditQuery(SqlQuery) method.

Note

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