SqlDataSourceUIHelper.AddQuery(SqlDataSource, EditQueryContext) Method

Invokes the Query Editor dialog.

Namespace: DevExpress.DataAccess.UI.Sql

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

Declaration

public static bool AddQuery(
    this SqlDataSource dataSource,
    EditQueryContext context
)
<ExtensionAttribute>
Public Shared Function AddQuery(
    dataSource As SqlDataSource,
    context As EditQueryContext
) As Boolean

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