DrawCell里这段代码If e.Col.Name = "审核" Then
If e.Row(e.Col.Name) = "待审核" Then
e.Table.grid.cols(e.Col.Name).style.font = new Font("微软雅黑",10,FontStyle.Bold)
e.Table.grid.cols(e.Col.Name).style.ForeColor = Color.Red
ElseIf e.Row(e.Col.Name) = "已作废" Then
e.Table.grid.cols(e.Col.Name).style.font = new Font("微软雅黑",10,FontStyle.StrikeOut)
e.Table.grid.cols(e.Col.Name).style.ForeColor = Color.Blue
Else
e.Table.grid.cols(e.Col.Name).style.font = new Font("微软雅黑",10,FontStyle.Bold)
e.Table.grid.cols(e.Col.Name).style.ForeColor = Color.Green
End If
End If
待审核有风格,已审核有风格,怎么到了作废就什么都不显示了,但是单元格的内容是对的,是已作废?这是什么问题?