更新时间:2023-01-26 22:42:21
I got it working... in the RowPostPaint event.. If I put in
RowPostPaint
if (my criteria here) Me.dgTableInfo.Rows(e.RowIndex).Cells("ColumnName").Style.BackColor = Color.Red end if
datagridviews单元格背景颜色和文本的条件更改
datagridviews 单元格背景颜色和文本的条件更改
有条件地更改特定单元格的背景颜色