change row color datagridview c# code example Example: datagridview column color c# grid.Columns["NameOfColumn"].DefaultCellStyle.ForeColor = Color.Gray;