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

How to assign multiple values to a report parameter from a connected data source

$
0
0

This example demonstrates how to create a multi-value parameter and pass it to a report at runtime. 

To do this, create an instance of the Parameter class and provide it with a set of lookup values. In this example, the parameter values are obtained from a data source. To learn how to assign these values in code, see How to assign multiple values to a report parameter.


Set the parameter's MultiValue property to true, which allows the parameter to have more than one value. After that, the parameter's values can be used in the report's FilterString

When previewing the resulting report, an end-user will be prompted to specify values for the parameter using the drop-down multi-select list.


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>