I have been reading threads about setting a subreport's datasource. I am confused about where to set it programmatically. Some threads show it being set after the Master report InitialComponent() event. Some threads show it via the subrpt_NeedDataSource or Subrpt_ItemDatabaBinding within the parent report class file. Others show it being set in the Subreport's class file in its NeedDataSource or Item Databinding event.
Could someone please tell me where to set the subreport datasource?
Could someone please tell me where to set the subreport datasource?