Bring up a project. First, we will put a button in the HTML that says Show Results; to do this, place a button below the line beginning with <form id=....:
<asp:Button ID="Button1" runat="server" Text="Show Results" /<br />
Next, switch to the Design view and double-click on the Show Results button. This takes us into Default.aspx.cs. Delete the Page_Load block. The relevant portion of the starting code for this project should look like Figure 14.9.1:
Figure 14.9.1: The starting code section for this project