问题描述
如何在rdlc报告中隐藏图像。在我的报告中,我曾经使用图像属性附加gif图像作为外部使用db值我将附加我的图像如果db值为null我想隐藏我的图像。如果value为null,则在Report(.pdf)中显示十字符号图像
我尝试过:
我试过Image - >能见度--->表达
= IIF(CSTR(First(Fields!QtyDisplayBarCodeGif.Value,InventoryPickingSlipForFED))=,True,False)
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)
推荐答案
=iif(IsNothing(First(Fields!FieldName.Value, "DataSet1")),false,true)
这篇关于如果在rdlc报告中db值为null,如何隐藏图像,现在如果value为null则显示交叉图像的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!