(I haven't written the code yet, just brainstorming) Hi guys, just wondering of the best method to use for this problem;
If sql column == 1 set checkbox.checked
else leave checkbox unchecked.
or would it be better to declare a Boolean variable and use an if statement to set to true or false depending on the 1 or 0 returned from the dataset.
Aucun commentaire:
Enregistrer un commentaire