Create a report with a page for each row in a database

1 Answer 84 Views
Report Viewer - WinForms
Tesis52
Top achievements
Rank 1
Tesis52 asked on 09 Sep 2021, 03:39 PM

Hi all.

I've been using Telerik for Silverlight and WebForms.

Now I need help for a friend of mine, and i need to issue a page for each row in a table, aboout 1200 rows and each one having 9 columns. I've built a VisualStudio VB project with 2 forms, in the first one i ask for the name of the table, the 2nd one hosts ReportViewe. Can you pls help me in this issue?

1 Answer, 1 is accepted

Sort by
0
Dimitar
Telerik team
answered on 14 Sep 2021, 08:37 AM

Hello Saverio,

If I understand correctly, you wish to create a report that generates a page for each row in the report's data, is that correct?

If that is the case, you may use the report's Detail section by inserting the report items in that section. The Detail section gets rendered for each row in the report's DataSourceIf the data source component attached to the report's DataSource property has 1200 rows of data, the detail section will get rendered 1200 times. This doesn't necessarily mean that the page count of the generated report will also be 1200 pages since it depends on the size of the detail section and the report PageSettings

If you want to make sure that each data row is rendered on its own page, you may set the detail section's PageBreak Property to After.

For more information on the report sections, please have a look at the Report Structure article.

Please let me know if you need additional information.

Regards,
Dimitar
Progress Telerik

Brand new Telerik Reporting course in Virtual Classroom - the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products. Check it out at https://learn.telerik.com/.
Tags
Report Viewer - WinForms
Asked by
Tesis52
Top achievements
Rank 1
Answers by
Dimitar
Telerik team
Share this question
or