none
retrieving checkbox value from mysql database RRS feed

Answers

  • pls help me how to retrieve or set the value of a checkbox from mysql database
    You would start by determining what Type has been used for the database value: a string ("True", "False"), an integer (for instance, 0 and 1), a Boolean (which is actually an integer), a Bit (which is commonly used when there are a number of Boolean results to be stored) or something else.   Once you know the Type of the stored value you will know what values it can take, and you can test those values in order to set the Checked property of a checkbox.
    Saturday, March 31, 2018 4:09 AM

All replies

  • pls help me how to retrieve or set the value of a checkbox from mysql database
    You would start by determining what Type has been used for the database value: a string ("True", "False"), an integer (for instance, 0 and 1), a Boolean (which is actually an integer), a Bit (which is commonly used when there are a number of Boolean results to be stored) or something else.   Once you know the Type of the stored value you will know what values it can take, and you can test those values in order to set the Checked property of a checkbox.
    Saturday, March 31, 2018 4:09 AM
  • thanks bro
    Saturday, March 31, 2018 4:33 AM