Click here to Skip to main content
15,901,035 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
How to hide image in rdlc report. In my report i used to attach gif images using image properties as "External" using db value i will attach my image if db value is null i want to hide my image. If value is null it displaying cross symbol image in Report(.pdf)

What I have tried:

I have tried Image --> Visibility---> as expression

=IIF(CSTR(First(Fields!QtyDisplayBarCodeGif.Value, "InventoryPickingSlipForFED"))=””,True,False)
Posted
Updated 2-Mar-16 21:36pm

1 solution

Try something like this:

VB
=iif(IsNothing(First(Fields!FieldName.Value, "DataSet1")),false,true)
 
Share this answer
 
Comments
SathishRam 3-Mar-16 23:51pm    
Thanks lot !!!!

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



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900