I'm finally playing with Telerik Reporting. I have a WinForm with the ReportViewer control. I have a report setup. I added a int type parameter called UserID to the parameter collection of the report. I created a filter expression of UserID_FK = the UserID parameter (from the dropdown). In the code I set the param using
reportViewer1.Report.ReportParameters.Add("UserId", Telerik.Reporting.ReportParameterType.Integer, value.ToString());
It only accepted a string as a parameter.
Not clear on the best way to do this.
reportViewer1.Report.ReportParameters.Add("UserId", Telerik.Reporting.ReportParameterType.Integer, value.ToString());
It only accepted a string as a parameter.
Not clear on the best way to do this.