Bring up a project and the only thing that will go into the <html> is a button and nothing else. To do this, go to Toolbox, grab a Button control, and drag and drop it below the line beginning with <form id=.... Replace the text on the button to say Show:
<asp:Button ID="Button1" runat="server" Text="Show" />
Now, switch to the Design view, and double-click on the Show button. This takes us into Default.aspx.cs. Delete the event handling stub. The relevant portion of the starting code for this project should look like Figure 11.6.1:
Figure 11.6.1: The starting code section for this project
Next, go to the top of the file and, under using System, enter the following:
using System.Collections.Generic; using System.Linq;
To make use of this, we'll do what follows. It's routine code; it's...