在RDLC报告中显示一个复选框 [英] display a checkbox in an RDLC report

查看:138
本文介绍了在RDLC报告中显示一个复选框的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述



我想在RDLC报告中显示一个复选框,表示数据库中的值为

(true / false)。

报告设计师没有复选框。

有没有人对如何最好地解决这个问题有任何想法?



提前致谢

Hi,
I would like to display a checkbox in an RDLC report indicated that the value
from the database (true/false). There is no checkbox available from the
report designer.
Do anyone have any ideas on how best to solve this problem?

Thanks in advance

推荐答案

(将文本框的字体更改为 Wingdings2

= IIf(Fields!MyBooleanField.Value,Chr(82),Chr(163))
(change the textbox’s font to Wingdings2)
=IIf( Fields!MyBooleanField.Value, Chr(82), Chr(163))


= IIF(Field!BooleanField.Value, Chr(80),)用于在报告中显示真实的刻度......



并且不要忘记设置wingdings的字体
=IIF(Field!BooleanField.Value,Chr(80),"") for displaying tick mark for true ...in the report

and dont forget to set the font for wingdings


这篇关于在RDLC报告中显示一个复选框的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆