Hide a row in RDLC report without disabling the co

2019-08-23 01:49发布

How could I hide a row in a .rdlc report without disabling the code execution for this row?

2条回答
家丑人穷心不美
2楼-- · 2019-08-23 02:23

Use the Visibility.Hidden property. Click on the Detail row handle to select the entire detail row, expand the Visibility property and enter an expression in the Hidden property that will hide the row. For example, if you want to hide the row when MyField is zero, you'd enter:

=IIF(Fields!MyField.Value = 0, True, False)
查看更多
Melony?
3楼-- · 2019-08-23 02:31

Use a table filter. The data will be extracted the filtered after excecution.

However I don't see the need for this unless.

查看更多
登录 后发表回答