Using Multiple Business Objects and passing values

Stimulsoft Reports.Silverlight discussion
Locked
arunkrsharmaa
Posts: 4
Joined: Sun Feb 04, 2018 3:45 am

Using Multiple Business Objects and passing values

Post by arunkrsharmaa »

Hi Team,
I am trying to add multiple business objects into stimulsoft desinger .
1. Datasources - it contains all the tables related to report
2. Logic and params- it will contain static string for showing conditions applied for report.
Hierarchy will be like below
Business Objects
Selected DataSources
Tables
Logic-and-parameters
parameters
.. I am able to show second business object (Logic and parameters) but when passing values to this it is showing blank.Code is as below

On Designer.c
report.regBusinessObjects("Selected DataSources",DataSet);
report.regBusinessObjects("Logic-and-parameters",SecondDataSet);
on ReportViewer.cs
same code written to registered again and called report.render() after that
NOTE: Please ignore Cases as its followed correctly in code.

Any help will be appreciable.
thanks in advance.
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

Re: Using Multiple Business Objects and passing values

Post by Alex K. »

Hello,

Please try to use the following code:
report.Dictionary.SynchronizeBusinessObjects();

Thank you.
Locked