且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

datagridviews单元格背景颜色和文本的条件更改

更新时间:2023-01-26 22:42:21

I got it working... in the RowPostPaint event.. If I put in

if (my criteria here)
    Me.dgTableInfo.Rows(e.RowIndex).Cells("ColumnName").Style.BackColor = Color.Red
end if