Modifying the HTML to make use of the struct
Next, we're going to make use of it. Go to Default.aspx
and place a Button
control in the form. Change the Text
property on the Button
control to something different. So, for example, let's change it to Make And Show Points
because we're going to make and show some points. Your Default.aspx
code should look like the one shown in the following screenshot:

Figure 6.19.3: The complete HTML for this project
So, it's really simple: here we have just one Button
and a Label
control. If you switch to the Design
view, the interface looks like the one shown in the following screenshot:

Figure 6.19.4: The simple interface for this project in Design view
So here we have one Button
control and a Label
control.