DataGridView and checkboxes re-selecting automatically
        Posted  
        
            by SuperFurryToad
        on Stack Overflow
        
        See other posts from Stack Overflow
        
            or by SuperFurryToad
        
        
        
        Published on 2010-05-24T23:08:49Z
        Indexed on 
            2010/05/24
            23:11 UTC
        
        
        Read the original article
        Hit count: 316
        
vb.net
|datagridview
I have a strange problem with a DataGridView I'm using which is bound to a table in VB.net
I've added a checkbox column to allow a user to tick a bunch of rows that I can then loop through and save off to a different table. All the checkboxes are enabled by default. So it's really a case of unchecking the rows which aren't required.
However, the DataGridView re-enables any checkbox that I click after I click on a checkbox in another row. So in effect, only one row can be unchecked at a time.
I'm sure I'm probably missing something obvious here?
© Stack Overflow or respective owner