i have areport viewer and in this report viewer i want to show multiple dataset value in single report viewer.please tell me what changes i have to do in my code:
Code with single data set:
rptViewer.ProcessingMode = ProcessingMode.Local;
//Location of the Report Definition
rptViewer.LocalReport.ReportPath = "Report1.rdlc";
//Data Source and Object for Report
Microsoft.Reporting.WinForms.ReportDataSource reportDataSource1 = new
Microsoft.Reporting.WinForms.ReportDataSource();
DataSet2 dataset = new DataSet2();
dataset.BeginInit();
reportDataSource1.Name = "DataSet1";
//Name of the report dataset in our .RDLC file
reportDataSource1.Value = dataset.MedicalAppointment;
//Adding the ReportDataSource to the DataSoure of the Report Viewer
rptViewer.LocalReport.DataSources.Add(reportDataSource1);
//fill data into WpfApplication4DataSet
DataSet2Table ...
Go to the complete details ...