Example for programmatic build of a simple "table" report

Stimulsoft Reports.Silverlight discussion
Locked
skagen
Posts: 2
Joined: Mon Nov 12, 2012 4:45 pm

Example for programmatic build of a simple "table" report

Post by skagen »

Presuming I can get a dataset of my data, and I know what the header labels should be for each element of data -

Is there an example out there that will show in C# how to programmatically add -

Title Band, with some reasonable display
Table, with columns added and bound to the data (with headers)
Footer Band, with page number

The "table" being obviously the key / more difficult piece.

We're very seriously evaluating the product for our reporting solution at present for one of our core products and any information along these lines would be very appreciated.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Example for programmatic build of a simple "table" repor

Post by HighAley »

Hello.
DynamicCreateReport.zip
(15.46 KiB) Downloaded 573 times
Here is a sample project for Reports.Net. You could get some code from it.
Let us know if you will need any additional help.

Thank you.
skagen
Posts: 2
Joined: Mon Nov 12, 2012 4:45 pm

Re: Example for programmatic build of a simple "table" repor

Post by skagen »

Thank you, I did have marginal success using detailband, but no success using "Table". Do you have an example that does this using "Table"? (by that, I'm referring to the grid-like construct where one can resize columns at the expense/benefit of adjacent column sizes).

We're basically going to be doing ad-hoc reporting, and won't be able to predict the exact widths users will want - with "Table" rather than detail band, they can easily resize the columns.
HighAley
Posts: 8430
Joined: Wed Jun 08, 2011 7:40 am
Location: Stimulsoft Office

Re: Example for programmatic build of a simple "table" repor

Post by HighAley »

Hello.

You could look at the Code tab in the Designer in will help you.

Thank you.
Locked