title: How to programmatically set cell value in DataGridView?
body: <p>I have a DataGridView. Some of the cells receive their data from a serial port: I want to shove the data into the cell, and have it update the underlying bound object.</p>
  
  <p>I'm trying something like this:</p>
  
  <pre><code>SetValueFromSerial (decimal newValue)
  {
      dataGridView.CurrentCell.Value = newValue;
  }
  </code></pre>
  
  <p>using a string doesn't help:</p>
  
  <pre><code>    dataGridView.CurrentCell.Value = newValue.ToString ();
  </code></pre>
  
  <p>In both cases, I don't see anything in the grid, and the underlying value is unchanged.</p>
  
  <p>I did Google and search here, but I didn't find anything. (I may have missed something, perhaps something obvious, but I'm not <em>utterly</em> lazy.)</p>