请问怎样在DataGridView中设置某一行或若干行的字体颜色?
我想将DataGridView表中新添加的记录设置为与原有记录不同的颜色,请大家指教!
[解决办法]
Dim DataGridViewCellStyleColorBlue As System.Windows.Forms.DataGridViewCellStyle = New System.Windows.Forms.DataGridViewCellStyle
程序里
DataGridView1.Rows(1).Cells(1).Style = DataGridViewCellStyleColorBlue