Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

How to pass a dashboard parameter to a custom SQL query

$
0
0

The following example demonstrates how to create a new dashboard parameter and pass it to a custom SQL query.

In this example, the dashboard parameter is passed to the custom SQL query parameter's expression. This allows you to dynamically change the query passed to the server.

Question Comments

Added By: Markus Kvist at: 7/5/2015 3:30:19 AM    

A much simpler way is to use the Query Builder directly, which also allows expressions exactly as was done in code below, unless you need the dynamic SQL: https://documentation.devexpress.com/#Dashboard/CustomDocument113947


Viewing all articles
Browse latest Browse all 7205

Trending Articles