Hi,
Lets say I have 2 Datasource, both also DataTable source.
Do I RegData multiple times ?
eg.
sti.RegData("xxx",dt1)
sti.RegData("yyy",dt2)
Second question: How do Sti knows which of the dt will map to which DataSource in the report ?
Multiple DataSource matching
Multiple DataSource matching
If this Data Tables placed in one DataSet you can register this DataSet. In other case you need call method RegData for each Data Table.Lets say I have 2 Datasource, both also DataTable source.
Do I RegData multiple times ?
eg.
sti.RegData("xxx",dt1)
sti.RegData("yyy",dt2)
Please see property NameInSource (DataName in 2007.1) of datasource. Report engine use this string to find data in DataStore (Method RegData register data in DataStore).Second question: How do Sti knows which of the dt will map to which DataSource in the report ?
Thank you.