Use RowsAdded eveent to set the checkBoxCOlumns value to trueAlso add this to initialization of checkboxColumnCode:Private Sub DataGridView1_RowsAdded(ByVal sender As System.Object, ByVal e As System.Windows.Forms.DataGridViewRowsAddedEventArgs) Handles DataGridView1.RowsAdded DataGridView1.Rows(e.RowIndex).Cells(DataGridView1.Columns("Insert").Index).Value = True End SubCode:dataGridViewCheckBoxColumn1.Name = "Insert"




Reply With Quote