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
Parameters in Report
-
- Posts: 37
- Joined: Tue Sep 15, 2009 9:42 am
- Location: jeddah
Parameters in Report
Hello Abdul,
You can foreach all variables in reports with help of following code:
Thank you.
You can foreach all variables in reports with help of following code:
Code: Select all
foreach (StiVariable variable in report.Dictionary.Variables)
{
}