Click here to Skip to main content
15,746,248 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Dear all:

I am developing a win app which process and generate data dynamically. I want to use the Microsoft reportviewer to analyse the generated data. I have a few problems about the report.

Firstly, can I manage the report dynamically? Can I access the report items like matrix, chart programmatically? Can I bound the datasource dynamically?

Second, I was playing around the chart in report. When I drag a data field to the value column ie the y axis, the value is defined as eg count(field!object.x) by default. And then I drag another one to the category column, ie the x axis, then compile. The chart is displayed correctly. However, I want to display the value of field!object.x. So I change it to value=field!object.x. But the chart is not displayed correctly. If x=0.5, for instance, it is displayed as 0on the chart.

The last question is also a general one. What is a good way to make a report about the data generated at run time? I mean without a database such as SQL etc.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900