ReportDocument myreport = new ReportDocument(); myreport.Load("C:\MyReport.rpt"); ReportDocument subreport = myreport.SubReports[0]; DataSet subds = GenerateReportData(subreport.name) myreport.SubReports[0].SetDataSource(subds);
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)