all groups > asp.net > march 2006 >
You're in the

asp.net

group:

checkbox bind with 0 = checked?


Re: checkbox bind with 0 = checked? sirfunusa NO[at]SPAM hotmail.com
3/31/2006 3:01:37 PM
asp.net: Run the stored procedure. And whole column? Is this a grid with a
checkbox column?

Set breakpoints on ItemDataBind, ItemCreated, etc.
Re: checkbox bind with 0 = checked? Scott M.
3/31/2006 5:06:45 PM
[VB.NET]

0 = False
-1 (or any non-zero value = True)

If you are getting a checked checkbox, I would look into the possibility
that the actual field data you are using to control it isn't what you think
it is.


[quoted text, click to view]

checkbox bind with 0 = checked? Maarten
3/31/2006 11:05:42 PM
I have a bound-checkbox. The database value = 0 but the checkbox got
checked?
Why is that?
What value should be in the database for being not checked then?


tia

Re: checkbox bind with 0 = checked? Maarten
4/1/2006 12:23:22 AM
How can I check that the best then?
(besides running the stored procedure in SQL server and see that 0 is
returned for that (whole)column?)
Can I debug/see what the databinding presents as value?

thank you

[quoted text, click to view]

Re: checkbox bind with 0 = checked? Maarten
4/1/2006 2:09:23 AM
I am sorry!!
You where right the first time.
Stupid me!! looking at the wrong column (SQL) the last couple of hours!!!

Again sorry for wasting your time.
Problem fixed.

Many thanks for your effort

Regards,


[quoted text, click to view]

AddThis Social Bookmark Button