priyanka

priyanka

  • NA
  • 215
  • 124.8k

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

May 24 2017 4:14 AM
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)