G
Guest
How can i get the value of my check box? I have it based on a dataitem from
the database, but on the form the user can check it or uncheck it. How can I
determine if its checked or not and save it to the table?
I have this but its not saving:
if (checkbox1.checked == true)
{
value = 1;
}
else if (checkbox1.checked == false)
{
value = 0;
}
the database, but on the form the user can check it or uncheck it. How can I
determine if its checked or not and save it to the table?
I have this but its not saving:
if (checkbox1.checked == true)
{
value = 1;
}
else if (checkbox1.checked == false)
{
value = 0;
}