I think you have to use:

DataGridViewCheckBoxColumn-Class
Properties TrueValue and FalseValue

Regards Juergen

Bert Huijgen schrieb:

>
> Hi,

> I have a GridView with a checkBoxField column. At the GridView1.DataBind(); I get the exception "The data in the CheckBoxField 'BLAH' could not be parsed as a boolean value". It does not matter what data type I choose, a char(1) with a value of 't' or '0', an inteteger with a value of '0', it always gives this exception. Should I move to MS SQL Server to get this working?

> Thanks,
> Bert
--
Jürgen Thomas

Jürgen Thomas
Verlags-Software

Samländische Str. 3
13189 Berlin

Tel.     (030)      94 39 96 38
oder   (0700)    VS–POLIS
d.h.     (0700)  87 07 65 47
Fax     (030)      94 39 96 40

http://www.vs-polis.de

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to