Page 1 of 1

Bind Variable type (as object ) in report

Posted: Mon Oct 26, 2020 1:43 pm
by nitin.sharma870
Hi,

I have a dynamic object on C#.

dynamic data = new {REG = new {Gender="male"}});
report["myvariable"]=data ;

In MRT I have a variable ("myvariable") as object type but I am not able to show the value of Gender property on the label.


referring value on MRT as : {myvariable.REG.Gender}

Re: Bind Variable type (as object ) in report

Posted: Tue Oct 27, 2020 9:42 pm
by Lech Kulikowski
Hello,

> referring value on MRT as : {myvariable.REG.Gender}

It is not possible for variables.

You can use business objects in that case.

Thank you.