drawcell事件
If e.Row.index = e.Table.Current.Index AndAlso e.Col.AllowEdit = False Then e.Table.DataTable.AddUserStyle("样式1", color.Red, color.black) e.style = "样式1"End If