C# 根据列值更改reportviewer中的背景行颜色?

C# 根据列值更改reportviewer中的背景行颜色?,c#,.net,wpf,winforms,reportviewer,C#,.net,Wpf,Winforms,Reportviewer,目前我正在使用这个 =iif(Fields!washCount.Value<=50,"LimeGreen","Yellow") =iif(Fields!washCount.Value尝试嵌套iif语句,例如: =Iif(Fields!washCount.Value <= 50, "LimeGreen", Iif(Fields!washCount.Value <= 80, "Yellow", "Red")) =Iif(Fields!washCount.Value)我

目前我正在使用这个

=iif(Fields!washCount.Value<=50,"LimeGreen","Yellow")

=iif(Fields!washCount.Value尝试嵌套iif语句,例如:

=Iif(Fields!washCount.Value <= 50, "LimeGreen", 
    Iif(Fields!washCount.Value <= 80, "Yellow", "Red"))
=Iif(Fields!washCount.Value)我将使用开关(Fields!washCount.Value