/// <summary>
    /// This button on click method is for adding a new Gender to the database.
    /// Added April 12. Modification of Gender's Add method.
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void AddGenderButton_Click(object sender, EventArgs e)
    {
        //finding the customer profile choice to display
        string addItem = AddGenderBox.Text.Trim();
        int    userID  = Convert.ToInt32(Session["adminID"]);

        MessageUserControl.TryRun(() =>
        {
            GenderController sysmgr = new GenderController();

            sysmgr.AddGender(addItem, userID);
            GenderListView.DataBind();
            AddGenderBox.Text = "";
        }, "Success", "Successfully added the new gender: \"" + addItem + "\"");
    }
    /// <summary>
    /// when the view active/archive is clicked, this changes the chosen ods for all listviews to the other ods.
    /// if the archived ods is being used, then the active ods is set, and vice-versa.
    /// </summary>
    /// <param name="sender"></param>
    /// <param name="e"></param>
    protected void ToggleView(object sender, EventArgs e)
    {
        if (seeArchive)
        {
            seeArchive = false;
            PTListview.DataSourceID = "PTODS";
            PTListview.DataBind();

            GenderListView.DataSourceID = "GenderODS";
            GenderListView.DataBind();

            MealsListView.DataSourceID = "MealsODS";
            MealsListView.DataBind();

            AgeRangeListView.DataSourceID = "AgeRangeODS";
            AgeRangeListView.DataBind();

            RevealButton.Text = "Show Archived";
        }
        else
        {
            seeArchive = true;
            PTListview.DataSourceID = "ArchivedPTODS";
            PTListview.DataBind();

            GenderListView.DataSourceID = "ArchivedGenderODS";
            GenderListView.DataBind();

            MealsListView.DataSourceID = "ArchivedMealsODS";
            MealsListView.DataBind();

            AgeRangeListView.DataSourceID = "ArchivedAgeRangeODS";
            AgeRangeListView.DataBind();

            RevealButton.Text = "Show Active";
        }
    }