BDRichardson
Programmer
Hi,
I am developing a report (.rdlc) which is used within an ASP.NET C# application.
The report works fine when working with parameters of String data type, however, I seem unable to use parameters of other data types.
For example, I wish to use a parameter of boolean data type, and wish to set the value from within the application. My problem is, that the Microsoft.Reporting.WebForms.ReportParameter constructor only allows you to pass a value which is a string data type.
I appreciate that I could set the parameter as a string type within the report, but I would rather not unless necessary.
Does anyone please have any ideas as to how I can use data types different from string?
I am developing a report (.rdlc) which is used within an ASP.NET C# application.
The report works fine when working with parameters of String data type, however, I seem unable to use parameters of other data types.
For example, I wish to use a parameter of boolean data type, and wish to set the value from within the application. My problem is, that the Microsoft.Reporting.WebForms.ReportParameter constructor only allows you to pass a value which is a string data type.
I appreciate that I could set the parameter as a string type within the report, but I would rather not unless necessary.
Does anyone please have any ideas as to how I can use data types different from string?