refresh contiously in datagridview
<p>I have written code to show an image in a <code>DataGridView</code> winform by the event of <code>CellFormatting</code>. It works well but the cell that I have changed to an image refreshes continuously. What should I do?</p>

<p>This is my code in <code>CellFormatting</code>:</p>

<pre><code>   dgvUnknownPayed.Rows[e.RowIndex].Cells[colStateImage.Name].Value = Properties.Resources.undo; 
</code></pre>
