Exercises
Consider the use of an HTML tag with runat="server" in the Wrox United application instead of one of the existing Web controls and explain why the HTML control is able to achieve the same result as the Web control.
Add some code to Default.aspx that makes sure that only match days (days when there is a match scheduled) are selectable in the calendar. You may find that the Day.IsSelectable
property comes in handy here.
Add another event handler to the Teams.aspx page that reacts to the selection of the name of a player and takes the reader to the Players.aspx page.
Have a go at customizing Players.aspx and change the field to displays the name of the player as a hyperlink. When clicked, this hyperlink should reveal a panel lower in the page that lists the team or teams that the selected player is a member of. You will find that the Fields editor of the MxDataGrid is very useful for this (select the Fields property builder when in Design view). You need to ensure that the clicking of the player name is handled correctly. You also need to add another method to extract team information (you will find that the DataReader function that returned the list of teams from the Teams.aspx page is useful here).