Hello,
I have a Report which has 5 Sub Reports and this sub reports has their own datasets.We are having Dataset(.XSD) files for Datasets. One of the Sub Report using Stored Procedure to get the data from database.
I am using following code to Create IReportDocument object.
1. string
reportName = "MIDAS.Reporting.Calls.CallOutReport, MIDAS.Reporting, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null";
2. IReportDocument objReportDoc;
3. Type
reportType = Type.GetType(reportName);
4. objReportDoc = (
IReportDocument)Activator.CreateInstance(reportType);
Here 4th point/line takes almoset 1 minute to Execute. Is it due to 5 subReports ? is there any other approach to improve the performance.
Any help would be highly appreciated.
Thanks in advance.
------------------------------------
Ajay