The complete version of the Default.aspx.cs
file for this chapter, including comments, is shown in the following code block:
//using is a directive //System is a name space //name space is a collection of features that our needs to run using System; using System.Xml.Linq;//needed for XElement //public means accessible anywhere //partial means this class is split over multiple files //class is a keyword and think of it as the outermost level of grouping //:System.Web.UI.Page means our page inherits the features of a Page public partial class _Default : System.Web.UI.Page { protected void Button1_Click(object sender, EventArgs e) { //load XML file into "fromFile" variable XElement fromFile = XElement.Load(@"C:\Users\towsi\Documents\Visual Studio 2015\WebSites\CSharpTemplateUpdated76143\XMLFile.xml" ); foreach(XElement childElement in fromFile.Elements()) { //display value sampLabel.Text += $"<br>Book Type...