呵呵,我有一种想撞墙的冲动,这不是一样的么:
If e.Col.IsNumeric AndAlso e.Col.Name <> "总分" Then If e.Row.IsNull(e.Col.Name) = False Then If e.Row(e.Col.Name) < 60 Then e.Style = "不及格" ElseIf e.Row(e.Col.Name) < 80 Then e.Style = "及格" Else e.Style = "优秀" End If End IfEnd If