/// <summary>
    /// This method runs as the page is loaded. The event information that is displayed is based on the 
    /// query string "eventID".
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    /// Aaron Copeland - 11/19/2012
    /// Tested by Aaron Copeland - 11/28/2012
    protected void Page_Load(object sender, EventArgs e)
    {
        try
        {
            if (Request["eventID"] == null)  // Go to events main page
            {
                Response.Redirect("Events.aspx", false);
            }
            else
            {

                String eventID = Request.QueryString["eventID"];
                BusinessTier bt = new BusinessTier();

                // get the details for the Dinner Event
                DataSet ds = bt.getDinnerDetails(eventID);

                // Calculates The Participants
                DataSet ds2 = bt.getMaxDinnerParticipants(eventID);
                DataSet ds3 = bt.getDinnerParticipants(eventID);

                // Prints out any errors
                String errorString = "";

                checkDSErrorTable(ds, errorString);
                checkDSErrorTable(ds2, errorString);
                checkDSErrorTable(ds3, errorString);

                lblError.Text = errorString;

                // populate the information on the page
                populateDinnerDetails(ds);

                // calculates the number of participants
                calculateParticipants(ds2, ds3);

                GoogleMap.LoadAddress(ds.Tables[1].Rows[0][15].ToString() + " " + ds.Tables[1].Rows[0][16].ToString() + " " + ds.Tables[1].Rows[0][17].ToString() + " " + ds.Tables[1].Rows[0][18].ToString());
            }
        }
        catch (Exception ex)
        {
            ErrorLog.logError(ex);
            Response.Redirect("Oops.aspx");
        }
    }