I highly recommend storing the output of a check box to a Nullable Boolean. A check box is extremely difficult to validate if it initially been given a default value - True or False. Setting a check box to nothing ensures that the user selects a value. This is where "Nullable Booleans" come in handy. You can actually store 3 states, Is it checked "Yes", "No", or No Response. The following code illustrates the use of "Nullable Booleans" as well as integers.
(click to enlarge)
0 comments:
Post a Comment