int highest = 0;
for (int row = 0; row < dgvCalories.Rows.Count - 1; row++)
{
for (int col = 0; col < dgvCalories.ColumnCount; col++)
{
if (calories[row, col] > highest)
highest = calories[row, col];
}
}
我想知道需要什么代码才能在数据网格视图中用颜色突出显示这个最高值