Dictionary.Synchronize() behavior
Posted: Fri Aug 31, 2007 9:47 pm
Hi,
I load a compiled report then set data source using the following codes
The rendered report shows no data at all just the template. I comment out DataSources.Clear() and DataStore.Clear() and it works fine.
Is this the correct behavior? ie. I should not clear datasource and datastore?
Thanks
I load a compiled report then set data source using the following codes
Code: Select all
report.Dictionary.DataSources.Clear();
report.Dictionary.DataStore.Clear();
report.RegData(dataSet.DataSetName, dataSet);
report.Dictionary.Synchronize();
Is this the correct behavior? ie. I should not clear datasource and datastore?
Thanks