Private Sub DataGridView1_CellFormatting(ByVal sender As Object,ByVal e As DataGridViewCellFormattingEventArgs) Handles DataGridView1.CellFormatting If e.Value.ToString = "未处理" Then e.CellStyle.ForeColor = Color.Red End If If e.Value.ToString = "已处理" Then e.CellStyle.ForeColor = Color.LimeGreen End If If e.Value.ToString = "处理中" Then e.CellStyle.ForeColor = Color.OrangeRed End If End Sub 原文链接:https://www.f2er.com/vb/257861.html