Parameters in Report

Stimulsoft Reports.WEB discussion
Post Reply
AbdulAleem
Posts: 37
Joined: Tue Sep 15, 2009 9:42 am
Location: jeddah

Parameters in Report

Post by AbdulAleem »

Hi,

I want to find the name and number of parameters or variables in the report can you provide sample code for that.


My requirement is when user creates a report dynamically and adds the parameters I want to provide an interface which generates the textboxes dynamically based on the number of parameters in the report so that user can pass the parameters to the report.


Thanks,
Abdul Aleem


Jan
Posts: 1265
Joined: Thu Feb 19, 2009 8:19 am

Parameters in Report

Post by Jan »

Hello Abdul,

You can foreach all variables in reports with help of following code:

Code: Select all

foreach (StiVariable variable in report.Dictionary.Variables)
{
  
}
Thank you.
Post Reply