Click here to Skip to main content
15,881,938 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
See more:
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.
C#
=IIF((ReportItems!English.Value >35<50),"C grade","Fail")

This is I'm using to execute.
I want it as when the
C#
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.
Posted

1 solution

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

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900