string reportPath = "C:\\Dev\\2010\\2010_BoxingAdmin\\BoxingAdmin\\BoxingAdmin\\Report1.rdlc"; string ds = "DEVELOPMENT;Initial Catalog=Boxing;Integrated Security=True"; ReportDataSource rds = new ReportDataSource("DataSet1", ds); ReportViewer reportViewer = new ReportViewer(); reportViewer.ProcessingMode = ProcessingMode.Local; reportViewer.LocalReport.ReportPath = reportPath; reportViewer.LocalReport.DataSources.Add(rds); windowsFormsHost1.Child = reportViewer; reportViewer.RefreshReport();
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)