I'm trying to pass a report a parameter value using the code below:
But I get the error below on ReportParameter:
Is there something I need to add?
Report report = new Report();
report.ReportParameters["ContactID"].Value = 4437;
But I get the error below on ReportParameter:
Error 24 'eMember.Report' does not contain a definition for 'ReportParameters' and no extension method 'ReportParameters' accepting a first argument of type 'eMember.Report' could be found (are you missing a using directive or an assembly reference?)
Is there something I need to add?