August 2017
Beginner
566 pages
12h 34m
English
So, now we'll enter the following between the curly braces in the Default.aspx.cs stub:
if (CheckBox1.Checked)
We saw previously that checked means either true or false. That is why we can use it with an if statement, as you see in the preceding line of code. If you hover your mouse over if, as shown in the following screenshot, it says bool, which is short for Boolean. In other words, this is a true or false kind of quantity, which means that you can use it with an if statement to make a decision:

If the box has been checked, then we can show the panel. To do ...
Read now
Unlock full access