I am using Linq to SQL to populate generic non LINQ classes to display report data. I created a method to return a List<T> of the class to the Report Datasource in the report constructor. I also have a subreport in the details section of my report where I want to populate with data related to each line item of the main report. The problem is the NeedDataSource is only called once and results in the first line item contains nothing in the subreport and every line item after that has data from the first line item.
My question is, how do I get a subreport in the details section to contain data related to its containing line item?
My question is, how do I get a subreport in the details section to contain data related to its containing line item?