Variable

Stimulsoft Reports.NET discussion
Post Reply
jayanthi
Posts: 61
Joined: Wed Aug 26, 2009 4:32 am

Variable

Post by jayanthi »

Hello,

I hav created a variable as 'Total' in dictionary of type int.
Using "report.Item("Total") = 10" to pass the value for Total variable from code.
But it doesn't display the value.

Guide me to pass the value to variable through code.

Thanx
Jay
Andrew
Posts: 4109
Joined: Fri Jun 09, 2006 3:58 am

Variable

Post by Andrew »

Hello,

Please, use the following code
report.Dictionary.Variables["test"].Value = "10";

Thank you.
jayanthi
Posts: 61
Joined: Wed Aug 26, 2009 4:32 am

Variable

Post by jayanthi »

It's working. Thanx a lot

Jay
Ivan
Posts: 960
Joined: Thu Aug 10, 2006 1:37 am

Variable

Post by Ivan »

Hello,

We are always glad to help you.
Let us know if you need any additional help.

Thank you.
Post Reply