Hi there,

Within my code I create a new DataGridViewCheckBoxColumn.

vb Code:
  1. Dim CheckCol As New DataGridViewCheckBoxColumn
  2. CheckCol.Name = "CheckBox"
  3. dgv_DocumentListCP.Columns.Add(CheckCol)

If I check this cell in certain rows, and then sort the DGV by clicking a column header, all of the CheckBoxes reset to not checked.

The rest of the columns are populated programmatically from a database into a dataset/table/view then binded to the DGVs DataSource.

To get the CheckBoxes to stay checked after a sort, do I need to have it write some data into a column in the database..?

If so is there another way than this..?

Thanks in advance.