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