How to check multiple conditions in rdlc expression
问题 I have worked on only possible 2 in rdlc Expression values as like =iif((Fields!Gender.Value="1"),"Male","Female") Here I can work with only 2 possibilities. But if I want to check 3 or more conditions than how can I? 回答1: Use the Switch if you have more conditions, it is also more readable. =Switch( Fields!Gender.Value = 1, "Male", Fields!Gender.Value = 2, "Female" ) rdlc expression iif use? 回答2: You can use the Code property of the report. Right-click a blank space outside your report and