Get parameter value
Hi,
I'm trying to run this code from Fast Report
string durationString = ((string)Report.GetParameterValue("showDuration"));
and I always get error "Exception has thrown by the target of invocation"
What is wrong with this??
Thanks,
I'm trying to run this code from Fast Report
string durationString = ((string)Report.GetParameterValue("showDuration"));
and I always get error "Exception has thrown by the target of invocation"
What is wrong with this??
Thanks,
Comments
Check that parameter's expression returns a value of correct data type. For example, your parameter may be of String type, but its Expression returns 0. In this case you will get such error.