//*******************************************************
        //
        // The Page_Load event on this page is used to obtain
        // from a database a collection of all orders placed
        // by the current customer.  The collection is then
        // databound to a templated asp:datalist control.
        //
        //*******************************************************
        private void Page_Load(object sender, System.EventArgs e)
        {
            String customerID = User.Identity.Name;

            // Obtain and bind a list of all orders ever placed by visiting customer
            AWC.BusinessLayer.Orders orderHistory = new AWC.BusinessLayer.Orders();

            MyList.DataSource = orderHistory.GetCustomerOrders(customerID);
            MyList.DataBind();

            // Hide the list and display a message if no orders have ever been made
            if (MyList.Items.Count == 0) {
                MyError.Text = "You have no orders to display.";
                MyList.Visible = false;
            }
        }