none
RDLC subreports taking too much time on loading RRS feed

  • General discussion

  • Hi everyone,

    I am using RDLC reporting for reporting of my project. I have one Main report in which 21 subreports are  present.

    when i try to run my projects the report is taking too much time for loading(2 to 3 minutes)

    i am using wcf services and report data comes from services end in form of collections

    i am using the following code to load data in sub reports in subreport event handler

     e.DataSources.Add(new ReportDataSource("LSTDesignationHstReport", response.DesignationHstListing));
                e.DataSources.Add(new ReportDataSource("LSTWrkDesignationHstReport", response.WDesignationHstListing));
                e.DataSources.Add(new ReportDataSource("LSTCompanyInfo", response.EmployeeCompanyInfo));
                e.DataSources.Add(new ReportDataSource("LSTPersonalInfo", response.EmployeePersonalInfo));
                e.DataSources.Add(new ReportDataSource("LSTOtherInfo", response.EmployeeOtherInfo));
                e.DataSources.Add(new ReportDataSource("LSTPreviousJobExp",response.PreviousJobExpHstListing));
                e.DataSources.Add(new ReportDataSource("LSTQualification",response.QualificationListing));
                e.DataSources.Add(new ReportDataSource("LSTLanguages", response.EmpLanguagesListing));
                e.DataSources.Add(new ReportDataSource("LSTSkills", response.SkillsListing));
                e.DataSources.Add(new ReportDataSource("LSTDependent", response.DependentHstListing));
                e.DataSources.Add(new ReportDataSource("LSTTraining", response.TrainingHstListing));
                e.DataSources.Add(new ReportDataSource("LSTJobCode", response.JobCodeMstListing));
                e.DataSources.Add(new ReportDataSource("LSTOrgUnit", response.OrganizationalUnitListing));

    Saturday, June 9, 2012 10:39 AM