View Single Post
  #1 (permalink)  
Old September 25th, 2009, 04:56 AM
ismailc ismailc is offline
Friend of Wrox
 
Join Date: Jan 2007
Location: durban, Africa, South Africa.
Posts: 115
Thanks: 2
Thanked 0 Times in 0 Posts
Question Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F

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