Click here to Skip to main content
15,891,372 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
In my report i have multivalue parameter. From CheckBoxList i retrieve List<string></string>. And then I want to pass my list with values to ReportParameter object. What should I pass into ReportParameter when my list is empty?
Posted

1 solution

You can set your report parameter as NULL or EMPTY or any default value you wish to. Thing is, the parameters will be used in a query to fetch the data. You just need to handle that value passed properly in the query.
 
Share this answer
 
Comments
Pavel Yermalovich 12-May-10 13:48pm    
I meant another case. How to fill ReportParameter variable aspx page with NULL value?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900