I have a report that has a couple of multivalue parameters on it, and I need to be able to display the value of the parameter selection on the report header according to the following rule: If only one of the values is selected, display the selected value, if multiple values are selected, display the word "multiple". So for example, if the parameter is called "Change type" and has three values (1, 2 and 3) with display values of "Added", "Modified" and "Deleted", when only value 1 is selected, in the header I need to display "Change type: Added". But if multiple or all values are selected, I need to be able to display "Change type: Multiple".
In order to parse the selected values of the parameters, I've created a textbox in the report header to handle displaying this text, and have created a custom method that gets called from the Report_ItemDataBound event handler. In this custom method, I'm having trouble figuring out how to evaluate the selection of the named parameter to determine if multiple values have been selected or not. I was hoping someone could point me in the right direction for how to do this. I'm also open to hearing if there's a better way to accomplish this if there is one.
Thanks for the help.