SSRS Report problem in wpf

Posted by Johnny on Stack Overflow See other posts from Stack Overflow or by Johnny
Published on 2010-06-02T13:20:15Z Indexed on 2011/01/03 12:53 UTC
Read the original article Hit count: 236

DataTable reportData = this.GetReportData(startId, endId, empId, minAmount, reportType);


                ReportViewer reportViewer = new ReportViewer();
                reportViewer.ProcessingMode = ProcessingMode.Local;

                reportViewer.LocalReport.ReportEmbeddedResource = "PDCL.ERP.Modules.Marketing.Reports.rptDoctorDetail.rdlc";  

                ReportDataSource ds = new ReportDataSource();
                ds.Name = "DoctorDetail_Report";
                ds.Value = reportData;
                reportViewer.LocalReport.DataSources.Add(ds);


                reportViewer.RefreshReport();
                this.WindowsFrmHost.Child = reportViewer;

this is my code.I'm using SSRS but the viewer only shows but not any data. Why..?

© Stack Overflow or respective owner

Related posts about wpf

Related posts about reporting-services