Add Multiple pages

0
jagdish posted this 24 April 2012

Hi,

How to add multiple pages and how to add multiple datatable to DocumentGenerator.

Regards
Jagdish K

1 Posts
0 Points
1 Comments
Order By: Standard | Newest | Votes
0
jles posted this 24 April 2012

Hello Jagdish,

If I understand correctly, you probably want to use more than one data table as a data source on a template. You have 2 options: either you can add data tables as separate data sources or you can set whole data set (containing multiple data tables) as the default data source. There is an example in the documentation showing how to create a report with multiple data sources. This example works with orinary .NET objects but there is no difference for "XML" and ".NET object" data source kinds in adding named data sources to templates and supplying their values at report generation time. On the other side a different approach must be taken when using plain data sets/tables in contrast to typed data sets/tables. If you can provide more info on your scenario, I will be able to shed some more light on the problem you have.

How to add multiple pages...

Can you please explain what do you mean by pages. If you mean pages in MS Word, Docentric doesn't control that in any way.

Regards,
Jure Leskovec

Last edited 03 February 2014

154 Posts
294 Points

Our 225963 members have posted 342 times in 101 discussions