SqlDataSourceUIHelper.AddQuery(SqlDataSource, EditQueryContext) Method

Invokes the Query Editor dialog.

Namespace: DevExpress.DataAccess.UI.Sql

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

Declaration

public static bool AddQuery(
    this SqlDataSource dataSource,
    EditQueryContext context
)

Parameters

Name Type Description
dataSource SqlDataSource

A SqlDataSource to which the resulting query will be added.

context EditQueryContext

An EditQueryContext object, specifying the Query Designer settings.

Returns

Type Description
Boolean

true if the wizard page was switched by clicking the Next or Finish button; otherwise, false.

Remarks

The following image illustrates the invoked ConfigureQueryPage.

configure-query-page

See Also