C# reportview 按时间改变行颜色
//BackGroundColor表达式中填写:
=IIf((Month(Now()) - Month("2017/7/1") = 0) AND ((Day(Now()) - Day("2017/7/1") >= -3) AND (Day(Now()) - Day("2017/7/1") < 0)),"Yellow",IIf(((Month(Now()) - Month("2017/7/1") = 0) AND (Day(Now()) - Day("2017/7/1") > 0)) OR (Month(Now()) - Month("2017/7/7") > 0),"Red",""))