How to programmatically create report from (strongly typed) dataset?

Stimulsoft Reports.NET discussion
Post Reply
BSAlex
Posts: 2
Joined: Thu Oct 09, 2008 9:54 am
Location: Germany, Augsburg

How to programmatically create report from (strongly typed) dataset?

Post by BSAlex »

Assume I have only one in-memory constructed DataSet with master/detail relations as print parameter.
Now I need to reconstruct a report from this DataSet including all detail and relations, doing preview and print.
It is possible without code hundreds lines of code,iteration over DataSet-Relations, just within an API?

Thanks in advice!
Vital
Posts: 1278
Joined: Fri Jun 09, 2006 4:04 am

How to programmatically create report from (strongly typed) dataset?

Post by Vital »

Hello Alex,
It is possible without code hundreds lines of code
No, some lines of code you need.
,iteration over DataSet-Relations, just within an API?
Yes it possible. Please look on attached sample project.

Thank you.
Attachments
97.PrintTable.zip
(37.9 KiB) Downloaded 261 times
BSAlex
Posts: 2
Joined: Thu Oct 09, 2008 9:54 am
Location: Germany, Augsburg

How to programmatically create report from (strongly typed) dataset?

Post by BSAlex »

Hello Vital,

thank You for the asnwer!

... but the question was about report creating from master/detail DataSet!
Vital wrote:Hello Alex,
It is possible without code hundreds lines of code
No, some lines of code you need.
,iteration over DataSet-Relations, just within an API?
Yes it possible. Please look on attached sample project.

Thank you.
I've already seen this example, but this don't answer a question at all. It DOES iteration only over a SIMPLE table WITHOUT master/detail relations.

Now I'm workin on my own code...
Edward
Posts: 2913
Joined: Fri Jun 09, 2006 4:02 am

How to programmatically create report from (strongly typed) dataset?

Post by Edward »

Hello.

Ok, please send it to support[at]stimulsoft.com for analysis when it is ready.

Thank you.
Post Reply