2
Answers

Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: Format value of cell type is wrong

Photo of ic ic

ic ic

15y
7.3k
1

Good day, Need help.
I'm trying to Add a CheckBox DataColumn to my DataGridView, I have been searching and tried a few methods but unsuccessfull.
I set the column format Null to nothing or True

DataColumn oAcceptCol;
oAcceptCol = oLOTXLOCXID.AddColumn(
"Accept", Type.GetType("System.Boolean"));
I keep on getting the Error: Format value of cell type is wrong
Please Assist

Answers (2)