1

I have an RDLC Report file in which I want to make an expression. I want to use IIf function here...

=IIf(First(Fields!due.Value, "DataSet1") = 0 ,"FULL PAID","DUE TK ="+First(Fields!due.Value, "DataSet1")+".00")

When the condition is true it shows FULL PAID but when False it Shows #Error It seems there is concatenation problem

=IIf(First(Fields!due.Value, "DataSet1") = 0 ,"FULL PAID",First(Fields!due.Value, "DataSet1"))

When the condition is true it shows FULL PAID but when False it Shows only value
Now I need to know that is it possible to concat string with dataset values here...

RDLC REPORT FOR BILL PRINT RDLC REPORT FOR BILL PRINT

csharpbd
  • 3,786
  • 4
  • 23
  • 32
Shovan
  • 136
  • 1
  • 13
  • Please check this, maybe it will help you. https://stackoverflow.com/questions/822810/iif-equivalent-in-c-sharp – csharpbd Feb 23 '18 at 19:47
  • 2
    I believe you need to convert your First(Fields!due.Value, "DataSet1")) to a string with CStr or Format in order to concatenate it. – Obie Feb 24 '18 at 02:10

0 Answers0