Bring up project and, to keep things brief, all we will do is put in a button below the line beginning with <form id=..... To do this, go to Toolbox, grab a Button control, and drag it in there. Change the text on the Button to say Show.
Now, switch to the Design view and double-click on the Show button. This takes us into Default.aspx.cs. Delete the Page_Load block. We don't need that. The relevant portion of the starting code for this project should look like Figure 12.7.1:
Figure 12.7.1: The starting code section for this project
In the next stage, go to the top of the file and, under using System, enter the following:
using System.Collections.Generic; using System.Linq;