Format checkbox for datagridview in code
I have a boolean field in an unbound datagridview which is populated at form load.
It is displaying as true or false; however, I want it to display as a checkbox.
I am using this type of terminology to format the date:
With datagridview
With .Columns("DateTo")
.HeaderText = "Date To"
.DefaultCellStyle.Format = "d" 'short date
.Width = 70
End With
End With
In vb6, I would do format a checkbox in my grid like this:
.ValueItems.Presentation = dbgCheckBox
can't find the equivalent command for this vb6 command:
Any help would be appreciated.
|