The only way i've been able to get this to work is to create a typed dataset with the "parameters" i want sent and then use aggregation functions (first,sum, etc...) to get to the data into the report. That is a big workaround in order to get a few simple floats and times into my report. Has anyone been able to get this done using another method?
|||If the data type of the parameter is set to integer/float, you can do these operations. And you can always convert between types in a report expression.
Showing posts with label non-string. Show all posts
Showing posts with label non-string. Show all posts
Monday, February 13, 2012
ASP.NET ReportViewer / Non-String parameters
I am displaying a local report in a ReportViewer control on an asp.net web page. My report contains non-string parameters. How can i set a non-string parameter value on a local report?You will need to call .ToString() on your value to set it on ReportParameter.|||That would result in a string being passed to the report. I want to pass a float or a datetime to the report.
Labels:
asp,
aspnet,
contains,
control,
database,
displaying,
local,
microsoft,
mysql,
net,
non-string,
oracle,
page,
parameters,
report,
reportviewer,
server,
sql,
web
Subscribe to:
Posts (Atom)