Hi,
You can use the CurrentCellDirtyStateChanged event to get the checkboxcell value.
Usually, if you want to respond immediately when users click a check box cell, you can handle the DataGridView.CellContentClick event, but this event occurs before the cell value is updated. So we need to use another way to catch the changed value. A common method is handling CurrentCellDirtyStataChanged event to commit the changes.
Please refer to the remarks part of DataGridViewCheckBoxColumn Class.
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridviewcheckboxcolumn.aspx
MSDN document shows an example about how to commit the changes in DataGridView.CurrentCellDirtyStateChanged Event.
http://msdn.microsoft.com/en-us/library/system.windows.forms.datagridview.currentcelldirtystatechanged.aspx
DataGridView does not have built-in support for disabling a cell. You can change surface. One FAQ tells about this.
15. How do I disable a cell?
http://social.msdn.microsoft.com/Forums/en-US/winformsdatacontrols/thread/a44622c0-74e1-463b-97b9-27b87513747e#faq15
Best regards,
Ling Wang
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread.