1
Answer

How to show and hide a label based on expression in rdlc .

priyanka

priyanka

7y
2.3k
1
I want to show and hide a label when total price < 500 in rdlc in c#.
I don't know what i am doing wrong in syntax,it throws error
 
The Visibility.Hidden expression for the text box ‘Textbox377’ contains an error: [BC30516] Overload resolution failed because no accessible 'IIf' accepts this number of arguments.
 
The syntax is as  follows:-
 
=IIF(sum(Fields!TOTAL_PRICE.Value,"DS_Invoice")<500,true,false) 
 
Please hep me out in correcting my syntax.
 
Thanks in advance.
Answers (1)