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.