Hi, I want to do a report that have multiple master-details,
my environment is Winform , Reporting R1 2017, UI for WinForms R1 2017 SP1,
what I supposed is like attach file 1.png,
there have group header to place master data, and a table to show detail data,
and will print multiple page for multiple master-details data.
I created data class and also a method that return the datasource (return type is List<RptDataMaster>):
public class RptDataMaster{ public string WaveNumber{get;set;} public string CustomerNumber{get;set;} public string OrderNumber {get;set;} public List<RptDataDetail> list{get;set;} public RptDataMaster() { this.list=new List<RptDataDetail>(); }}public class RptDataDetail{ public string ItemNumber{get;set;} public string ItemName{get;set;} public int Qty{get;set;}}
but next, I have no idea how to grouping them up at report designer,
should I add two objectDataSource (bind to RptDataMaster & RptDataDetail) or something?
Please give me some suggestion, thanks!
