Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C# 2005 > C# 2005
C# 2005 For discussion of Visual C# 2005.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the C# 2005 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 25th, 2009, 04:56 AM
Friend of Wrox
Join Date: Jan 2007
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Response.Redirect gets "object required" error Ron Howerton VBScript 2 August 27th, 2009 01:45 PM
"Add Variable" - Chap 14 ArtP2 BOOK: Ivor Horton's Beginning Visual C++ 2008 ISBN: 978-0-470-22590-5 4 May 30th, 2009 04:02 PM
Code not going as planned: "icicle" vs "savedinstancestate" joopthecat BOOK: Professional Android Application Development ISBN: 978-0-470-34471-2 3 May 3rd, 2009 03:09 PM
AutoEventWireup = "true" member4953 BOOK: Beginning ASP.NET 3.5 : in C# and VB BOOK ISBN: 978-0-470-18759-3 2 March 25th, 2009 09:45 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.