What is the proper way to populate data in a subreport. I have the following, and I am getting the error "The report has no tables". The report is tied to a strongly-typed datatable.
Here's where it fails:
reportDoc.OpenSubreport("AnnualELIform2.rpt").SetDataSource(ds.Tables(1))
Thank you.
Here's where it fails:
reportDoc.OpenSubreport("AnnualELIform2.rpt").SetDataSource(ds.Tables(1))
Thank you.