RegisterData  ( DataTableMain , "mainreporttable"); RegisterData  ( DataTableSub , "subreporttable");
Comments
RegisterData Function work for both main , subreport ,
It's depends on the datatable name , that you use in your report whether it's main or sub report ,
In Most cases ( for me ) I Add two datatable to report , one for main report , and the other for the subreport ,
And yes the code still the same
And I filter that data from My windows Application
Hope this help,