Simple code lines:
myGrid.Columns.Add("Question", "Question")
myGrid.Columns.Add("Answers", "Answers")
myGrid.Rows.Add()
myGrid.Rows(0).Cells("Question").Value = "dummy checkbox test"
Dim chk As New DataGridViewCheckBoxCell
chk.TrueValue = "1"
chk.FalseValue = "0"
myGrid.Rows(0).Cells("Answers").Value = "0"
myGrid.Rows(0).Cells("Answers") = chk
Will result in a "System.FormatException: Formatted value of the cell has a wrong type." when the form is executed.
Any idea why? Thanks