Using Multiple Business Objects and passing values

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

Using Multiple Business Objects and passing values

Post by arunkrsharmaa » Sun Feb 04, 2018 3:58 am

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: 6476
Joined: Thu Jul 29, 2010 2:37 am

Re: Using Multiple Business Objects and passing values

Post by Alex K. » Mon Feb 05, 2018 12:37 pm

Hello,

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

Thank you.
Post Reply