Hello,
I want to create a report viewer parameter combo box but can't seem to figure out a certain part of doing it. When I'm creating the report parameter, how do I choose the values for the combo box? I.e. I need a combo box where the user can choose between two values which are "Summary" and "Detailed". I tried putting those values into an array and assigning it to the AvailableValues.DataSource but that didn't work because it then asks me to fill DisplayMember and ValueMember (which is a problem because an Array doesn't have column names, which is what DisplayMember and ValueMember want). I also can't find a single example of how to do this. Anyone know how to do this?
Ryan
I want to create a report viewer parameter combo box but can't seem to figure out a certain part of doing it. When I'm creating the report parameter, how do I choose the values for the combo box? I.e. I need a combo box where the user can choose between two values which are "Summary" and "Detailed". I tried putting those values into an array and assigning it to the AvailableValues.DataSource but that didn't work because it then asks me to fill DisplayMember and ValueMember (which is a problem because an Array doesn't have column names, which is what DisplayMember and ValueMember want). I also can't find a single example of how to do this. Anyone know how to do this?
Ryan