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
Your Filters
0 Guruprasad.K.Basavaraju 446
1 Sergey Alexandrovich Kryukov 360
2 Shai Vashdi 318
3 OriginalGriff 265
4 Peter Leow 171
0 Sergey Alexandrovich Kryukov 9,109
1 OriginalGriff 5,290
2 Peter Leow 4,010
3 Maciej Los 3,535
4 Abhinav S 3,263

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