Change color of Button in DataGridView
<p>I have searched high and low for an answer to this question.The answer on this post: <a href="https://stackoverflow.com/questions/586829/change-color-of-button-in-datagridview-cell">Change Color of Button in DataGridView Cell</a> does not answer my question as it regards font.</p>

<p>I have tried the following:</p>

<pre><code>DataGridViewRow r = dataGridView.Rows[0];
r.Cells[1].Style.BackColor = Color.Red;
</code></pre>

<p>I have also tried:</p>

<pre><code>DataGridViewButtonColumn btnCOl = new DataGridViewButtonColumn();
btnCOl.FlatStyle = FlatStyle.Popup;
DataGridViewRow r = dataGridView.Rows[0];
r.Cells[1].Style = new DataGridViewCellStyle { BackColor = Color.LightBlue };
</code></pre>

<p>Still to no avail.</p>

<p>I also commented out this line:</p>

<pre><code>// Application.EnableVisualStyles();
</code></pre>

<p>If there is anyone who knows how to <strong>change the background color of a single button in a DataGridViewButtonColumn</strong>, please help.</p>

<p><strong>EDIT:</strong>
I want to set different colors for the cells in the column e.g. some will be red while others will be green. I don't want to set the color for the whole column.</p>