Link to home
Start Free TrialLog in
Avatar of IntelOne
IntelOneFlag for United States of America

asked on

Need to Print Multiple Reports (Basically a Batch of Statements) - C# / WinForms / SQL

I need to print a range of reports from an SQL DB. I have the report created to let the user select a report, then view it with the option to print. The client wants to be able to print all reports (statements) in the database and or select a range by date.

I am developing in VS2019 Pro, WinForms App, C#, SQL DB. I am using C1FlexReport, but an example in VS controls should work.

So I need to determine how many statements exist in the master/detail tables, iterate through them printing each one. No need to view, just print.

Any sample code would be helpful (just the routine to iterate through the statements)

Thanks so very much for any help...
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.