Oct 03, 2011, 11:46 AM
[CLOSED] Checkbox return true/false
Hi
I have a gridpanel with this column
Thanks
Mikael
I have a gridpanel with this column
<Editor>
<ext:Checkbox runat="server" ID="cb1"></ext:Checkbox>
</Editor>
and a insert that looks like thisSqlKontaktpersoner.InsertCommand = @"INSERT INTO Table
(Checkboxcol) VALUES (@cb1)";
my sql column in a small int but the checkbox retur true/false in text, and this results in a error in the sql. Can I force the checkbox to return 1/0 instead?Thanks
Mikael
Last edited by Daniil; Oct 04, 2011 at 7:34 AM.
Reason: [CLOSED]