Change Theme Settings
Change Theme Settings
Themes
 
Metropolis
Moderno
iOS
Material
Material Compact
Office 365
Mulberry
Show All Themes
v
...v

Query Builder Control

Company Name
 
Contact Name
 
City
 
Country
 
Product Name
 
Unit Price
 
Exotic LiquidsCharlotte CooperLondonUKChai18.0000
Exotic LiquidsCharlotte CooperLondonUKChang19.0000
Exotic LiquidsCharlotte CooperLondonUKAniseed Syrup10.0000
New Orleans Cajun DelightsShelley BurkeNew OrleansUSAChef Anton's Cajun Seasoning22.0000
New Orleans Cajun DelightsShelley BurkeNew OrleansUSAChef Anton's Gumbo Mix21.3500
Grandma Kelly's HomesteadRegina MurphyAnn ArborUSAGrandma's Boysenberry Spread25.0000
Grandma Kelly's HomesteadRegina MurphyAnn ArborUSAUncle Bob's Organic Dried Pears30.0000
Grandma Kelly's HomesteadRegina MurphyAnn ArborUSANorthwoods Cranberry Sauce40.0000
Tokyo TradersYoshi NagaseTokyoJapanMishi Kobe Niku97.0000
Tokyo TradersYoshi NagaseTokyoJapanIkura31.0000
Page 1 of 8 (77 items)Prev12345678Next

The DevExpress ASP.NET Query Builder (ASPxQueryBuilder) allows you to provide your end users with the capability to visually construct database system-specific 'SELECT' statements. The resulting SQL string can then be obtained on the ASPxQueryBuilder.SaveQuery event via the SelectStatement event parameter.

In this demo, ASPxQueryBuilder is used to compose an MS Sql-specific 'SELECT' statement. The resulting query is executed against an MDF database using an SqlDataSource, and the data obtained as the result of the query execution is displayed in an ASPxGridView control.

To start customizing a 'SELECT' statement, click QUERY BUILDER above the grid view control.

Click the Save and Close button on the Query Builder toolbar to generate the SQL string and assign it to the data source control's SelectCommand property.