Problem with business objects datasource
Posted: Tue Sep 02, 2008 9:19 am
Hello.
I'm trying to use a business objects as a my datasource for the report, setting the appropriate values using the regData method. Everything works fine, except that I can only get it to work on a single datasource.
I'm using the following pattern:
In my report, I've created two business object datasources. However, I can only use the first one I register. Is this by design, and if so, how do I work around it?
I'm trying to use a business objects as a my datasource for the report, setting the appropriate values using the regData method. Everything works fine, except that I can only get it to work on a single datasource.
I'm using the following pattern:
Code: Select all
report.Load(filename); // filename was set earlier
report.RegData("ListData", ListData); // List
report.RegData("GlobalInfo", GlobalInfo); Single BusinessObject
StiWebviewer1.Report = report;