I have an rdlc report (VS 2010 DESKTOP App, NOT Web App).
I created a boolean parameter called "showMoney", that hides the money columns when not true.
HOWEVER:
There is no way to pass in a boolean on the ReportViewer.
I told the parameter's Default value to be "true" (without quotes) but that does not work. The report works as if it's false. Now I am trying to send in the value from the C# code, and I'm not sure how, as there is no way to pass in a boolean, only string and string[]. What does this thing want? "Yes/No", "0/1", "true/false", "aye/nay"? Why are there NO EXAMPLES of doing this anywhere??? All the examples just assume strings! If you make a boolen parameter in a report, it should accept a boolean as a parameter!
this.reportViewer1.LocalReport.SetParameters(new Microsoft.Reporting.WinForms.ReportParameter("showMoney", "true"));
I'd rather live with false hope than with false despair.