Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: C# Microsoft
I want to know, how can i use variable in .rdlc report (Microsoft reporting).
Best Regard,
Theingi Win
Posted 8-Mar-11 20:06pm
Edited 8-Mar-11 20:10pm
Sandeep Mewara at 9-Mar-11 2:20am
By variable you mean parameters?

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

AFAIK, variable is parameters in SSRS.
In design mode, you can go to Report Properties at the top and then add them.
At runtime, if needed, you can have a look at similar discussion here[^].
Once you have it in your report, you can access it using Parameters object. (Ex: =Parameters!Title.value)
Theingi Win at 9-Mar-11 2:31am
Thanks Reply For Sandeep Mewara ,
But i want to know variable,not parameters.
Theingi Win
Sandeep Mewara at 9-Mar-11 3:02am
I just verified. They are Parameters in 2005 & variables in 2008. Same thing. Try.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 Sergey Alexandrovich Kryukov 474
1 Maciej Los 375
2 OriginalGriff 263
3 CPallini 214
4 Peter Leow 200
0 OriginalGriff 6,152
1 Sergey Alexandrovich Kryukov 5,312
2 Maciej Los 3,279
3 Peter Leow 3,184
4 DamithSL 2,490

Advertise | Privacy | Mobile
Web01 | 2.8.140721.1 | Last Updated 9 Mar 2011
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100