Below is my C# code to display a report using Active Reports.
DataDynamics.ActiveReports.Viewer.Viewer VBatchInvoice;
List<M3.UDT.ReportData> lstReport="Values comes from database near about 800 records"
ar.DataSource = lstReport;
ar.Run();
VBatchInvoice.Document = ar.Document;
This main report also include a subreport.
The statement ar.Run() is taking about 10 seconds. My client says it is too much time. I want to reduce this time as much is possible. What possible reasons are there that this is taking so long to generate? Any solution for this problem would be appreciated.
There is no way to know why the report takes 10 secs and whether that is reasonable or not without reviewing your report layout, content and data source.
I suggest reviewing the following # of pages is the report, images in the report, subreports, page total (page n of m).