SqlDataSourceUIHelper.ManageQueries(SqlDataSource) Method
Invokes the Manage Queries dialog window.
Namespace: DevExpress.DataAccess.UI.Sql
Assembly: DevExpress.DataAccess.v24.2.UI.dll
Declaration
Parameters
Name | Type | Description |
---|---|---|
sqlDataSource | SqlDataSource | A SqlDataSource object. |
Returns
Type | Description |
---|---|
Boolean | true, if the OK button is clicked in the dialog window; otherwise, false. |
Remarks
The following code snippet invokes the Manage Queries dialog window:
using DevExpress.DataAccess.ConnectionParameters;
using DevExpress.DataAccess.Sql;
using DevExpress.DataAccess.UI.Sql;
// ...
SQLiteConnectionParameters connectionParameters = new SQLiteConnectionParameters("Data/nwind.db", "");
SqlDataSource dataSource = new SqlDataSource(connectionParameters);
SelectQuery query = SelectQueryFluentBuilder
.AddTable("Products")
.SelectColumn("ProductName")
.SelectColumn("UnitPrice")
.Build("selectQuery");
dataSource.Queries.Add(query);
SqlDataSourceUIHelper.ManageQueries(dataSource);
Review the following help topic for more information: Query Builder.
See Also