Posted 3 September 2021, 1:52 pm EST
Hello,
Our company considering using ActiveReports to generate pdf reports.
I created application according to this documentation: https://www.grapecity.com/activereportsnet/docs/v15/online/rendering-to-pdf.html
AcitveReports template (xml report) is retrieved from database so this code is used:
using StreamReader streamReader = …
PageReport pageReport = new(streamReader);
The thing is the creation of PageReport constructor that takes TextReader object as argument takes about 1 second and it’s to long for our application (we can process thousands of reports).
I tried to use one PageReport instance for all reports but the parameters that I passed are not changed for the next reports. So when I use this code https://www.grapecity.com/forums/ar-dev/activereports-14-net-core- for the next reports the parameters that were passed to the first report are not cleared and all reports contain the same data.
So my question is, are there any ways how to clear parameters that were passed to the first report or maybe some another approach how to increase performance?