Datagridview cell value not updating
Clear Selection() and the final update, bring back the index to (0,0) as current cell. Caution - This function does not update automatically when the interior color of a cell changes.
Now you can ask questions directly to me on my new site ASPForums. looks messy..:(" id="ctl00_m_m_i_ctl00_gr_ctl03_bestanswerbody" class="textarea-bestanswerhidden" name="bestanswerbody" answerbody Id="3840519" / Thanks for the reply Jon. I programatically make currentcell.selection=false and select the (0,0) cell in order to move out of the last cell. Though the dgvw is refreshed, it is not commiting the changes, it looks remain checked in the gui. the appl contains one DGVW with columns fixed programatically, one such column is Datagridviewcheckbox column. The problem - the last cell value is not updating inside. if I debug through code, the "cell(2,2).value" returns null value whereas the rest of them returns the value what i entered. no exit from the last cell, so the data from that cell was not committed.