title: Designated action to a column in DataGridview C#
body: <p><a href="https://i.stack.imgur.com/nDaro.png" rel="nofollow"><img src="https://i.stack.imgur.com/nDaro.png" alt="enter image description here"></a></p>
  
  <p>this code for add the column 'Check-Out' and make all the Values in Color Green:</p>
  
  <pre><code>DataGridViewButtonColumn column = new DataGridViewButtonColumn
  {
      FlatStyle = FlatStyle.System;
      DefaultCellStyle.ForeColor = Color.ForestGreen;
      HeaderText = "Check-Out";
      Text = "Check-Out";
      UseColumnTextForButtonValue = true;
  };
  
  dataGridView1.Columns.Add(column);
  </code></pre>
  
  <p>I want select for example for id=1, the field 'Check-Out'
  ... to change the Green 'Check-Out' to Red 'Check-Out'</p>
  
  <p>I have try with this code (but for all fields...):</p>
  
  <pre><code>foreach (DataGridViewRow dr in dataGridView1.Rows)
  {
      string col1 = dr.Cells["Check-Out"].ToString();
  
      dr.DefaultCellStyle.ForeColor = Color.Red;
  }
  </code></pre>
  
  <p>I have an error: <em>"The column called Check-Out is not found"</em> !!!</p>
  
  <p>Thanks</p>