Re: [Firebird-net-provider] CheckBoxField

2006-11-22 Thread paul.mercea
-provider@lists.sourceforge.net Subject: Re: [Firebird-net-provider] CheckBoxField Hi, Indeed, an DataGridViewCheckBoxColumn contains a TrueValue and a FalseValue. But this class is in the namespace System.Windows.Forms, and I am writing a web (ASP.NET) application, so I can not use this class. Is

Re: [Firebird-net-provider] CheckBoxField

2006-11-22 Thread Bert Huijgen
Hi, Indeed, an DataGridViewCheckBoxColumn contains a TrueValue and a FalseValue. But this class is in the namespace System.Windows.Forms, and I am writing a web (ASP.NET) application, so I can not use this class. Is there a way a web application can use the CheckBoxField in combination with Fireb

Re: [Firebird-net-provider] CheckBoxField

2006-11-22 Thread paul.mercea
esday, November 22, 2006 12:29 PM To: firebird-net-provider@lists.sourceforge.net Subject: Re: [Firebird-net-provider] CheckBoxField Hi, Just using 'Y' and 'N' gives the same exception. Maybe the so called TrueValue and FalseValue do the trick, but where can I find these? The .asp

Re: [Firebird-net-provider] CheckBoxField

2006-11-22 Thread Bert Huijgen
Hi, Just using 'Y' and 'N' gives the same exception. Maybe the so called TrueValue and FalseValue do the trick, but where can I find these? The .aspx file does not know them. The GridView and the DataGridColumn do not have them either. Thanks, Bert ---

Re: [Firebird-net-provider] CheckBoxField

2006-11-22 Thread paul.mercea
Hi I get same error with -1 and 1 value. Works ok with Y and N . Set TrueValue and FalseValue to your values. Regards, Paul _ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Bert Huijgen Sent: Tuesday, November 21, 2006 10:40 PM To: firebird-net-provider@lists.sourcefo

Re: [Firebird-net-provider] CheckBoxField

2006-11-22 Thread VS-Polis
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 b