如何显示"NO ROWS"消息,当RDLC中的表中没有行时 [英] How to Show "NO ROWS" message When no rows in the table in RDLC
本文介绍了如何显示"NO ROWS"消息,当RDLC中的表中没有行时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我的表包含以下列,其中一列是CPEType.Value.
表格行具有可见性/隐藏的表达式= IIF(Fields!CPEType.Value ="C",False,TRUE)
因此,它仅显示CEType值为"c"的行.
现在,当上述条件之后没有数据时,我想显示未找到行".
NoRows中的属性可以吗?
= iif(Count(Fields!CPEType.Value ="E")= 0,无记录",False)
Hi,
My table has following columns one is CPEType.Value.
Table row has an Expression in Visibility/Hidden =IIF(Fields!CPEType.Value = "C",False,TRUE )
so, It''s showing Only rows which having CEType valu is "c".
Now,I Want to display "No Rows Found",when there''s no data after above Condition.
is that in NoRows property is ok?
=iif(Count(Fields!CPEType.Value="E")= 0,"No Records" ,False)
推荐答案
请告诉我您正在使用哪个数据库?.
如果{bindingsource.count == 0)
{
messageBox(无行");
}
如果您使用的是ms访问,则可以使用它.
please inform me which database you are using?.
if {bindingsource.count== 0)
{
messageBox("No rows");
}
you can use this if you are using ms access.
这篇关于如何显示"NO ROWS"消息,当RDLC中的表中没有行时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文