Quantcast
Channel: Windows Forms Data Controls and Databinding forum
Viewing all articles
Browse latest Browse all 2535

Forcing a DataGridView to update values

$
0
0
I've got a datagridview (winforms) controls with a collection bound to it.  Anyway, I've got a checkbox column in the grid.  I need its value to be updated to the object as soon when the column value is changed.  However, it only gets updated when I move focus off of that cell.  Is there anyway to change the way it behaves or call a method to force the grid to update values back to the bound collection?  For instance, on a regular databinding to like a textbox I can change the DataSourceUpdateMode to OnPropertyChange.  Is there something similar to this for the entire DataGridView?

Viewing all articles
Browse latest Browse all 2535

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>