p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C# 2005 (http://p2p.wrox.com/forumdisplay.php?f=138)
-   -   Add a CheckBox DataColumn to my DataGridView, Null format: "" or "True" but Error: F (http://p2p.wrox.com/showthread.php?t=76335)

ismailc September 25th, 2009 04:56 AM

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


All times are GMT -4. The time now is 04:22 AM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.