如何在win表单中的textbox函数的report.rdlc中写if else条件? [英] How to write if else condition in report.rdlc of textbox function in win forms?

查看:104
本文介绍了如何在win表单中的textbox函数的report.rdlc中写if else条件?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用c#

使用Win表单我需要编写一个if else conditon文本框函数,该函数插入到report.rdlc中。

我想要它执行该条件的方法如下。

 = IIF((ReportItems!English.Value> 35< 50),  C grade 失败



这是我用来执行的。

我希望它像

 ReportItems!English.Value 

介于35和50之间,然后该文本框显示为c级,否则应该是失败。

请帮帮我。

解决方案

= IIF((ReportItems!English.Value> 35),IIF((ReportItems!English.Value< 50),C grade,Fail) , 失败)

I'm working with with Win forms using c#
I need to write a if else conditon textbox function which is inserted in report.rdlc.
I want it to execute that condition is the below way.

=IIF((ReportItems!English.Value >35<50),"C grade","Fail")


This is I'm using to execute.
I want it as when the

ReportItems!English.Value

in between of 35 and 50 then that textbox to be shown c grade otherwise it should be Fail.
Please help me out.

解决方案

=IIF((ReportItems!English.Value >35),IIF((ReportItems!English.Value <50),"C grade","Fail"),"Fail")


这篇关于如何在win表单中的textbox函数的report.rdlc中写if else条件?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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