Page 1 of 1
How can I add a variable by Code
Posted: Wed Dec 24, 2014 9:46 pm
by waleedhm
Hello.
How can I add a variable in report by Code and save it in report
Thanks in advance
Re: How can I add a variable by Code
Posted: Fri Dec 26, 2014 6:23 am
by Alex K.
Hello,
You can use the following code:
Code: Select all
report.Dictionary.Variables.Add(new StiVariable("Variable1", 10));
Thank you.
Re: How can I add a variable by Code
Posted: Sat Dec 27, 2014 1:20 pm
by waleedhm
Hello,
work fine thanks Aleksey
Re: How can I add a variable by Code
Posted: Mon Dec 29, 2014 5:29 am
by HighAley
Hello.
We are always glad to help you.
Thank you.