Hi,
Can anyone explain the difference between User Sources, Dataset, Datatables, and Other DataSource ?
Cause when I tried to create a new report (this is my very second attempt), I have choosed User Sources and I assign the data like this:
da.Fill(dt)
Dim report As StiReport = stiContact.GetReport
dt.TableName = "Contact"
report.RegData("Contact", dt)
The data does not show. When I recreate using DataTable data source it shows. So when should I use User Sources and Other DataSource ?
Thank you.
Datasource difference
Datasource difference
In your code DataTable object must be used. You may register it alone or as part of the DataSet. Simplest way is create a DataTable and register it.
User Sources are used for the custom data which can be provided "manually" for the report. Please see the sample application named "User Data" from the standard delivery.
Data from other DataSources - it is the DataSource which is created inside the Dictionary based on any other DataSources from the Dictionary. This DataSource can sort and group and filter any DataSource which is present in the Dictionary. Report.CacheAllData must be set in true for working with this DataSource.
Thank you.
User Sources are used for the custom data which can be provided "manually" for the report. Please see the sample application named "User Data" from the standard delivery.
Data from other DataSources - it is the DataSource which is created inside the Dictionary based on any other DataSources from the Dictionary. This DataSource can sort and group and filter any DataSource which is present in the Dictionary. Report.CacheAllData must be set in true for working with this DataSource.
Thank you.