protected void btnCheckout_Click(object sender, EventArgs e)
    {
        lblCurrentUser.Text = lblCurrentUser.Text;

        DisableInputs(Page.Controls);

        panelCart.Visible = false;
        panelOrder.Visible = true;

        // Creates new database for use in click event
        dsAccounts dsFindOrders = myBusinessLayer.FindOrder(txtUsername.Text);
        dsAccounts dsFindOrder = myBusinessLayer.FindOrders(txtUsername.Text);

        // If applicable, gives one of the below outputs
            // If username on AccountDetails page matches UserID from tblUsers
            // Can update details for that user
        if (dsFindOrder.tblCart.Rows.Count > 0 || dsFindOrders.tblOrders.Rows.Count > 0)
        {
            // If the Username and their data is found then it is pulled and user is informed the record has been found
            dsFindOrders.tblOrders[0].Customer = dsFindOrder.tblCart[0].Customer;
            dsFindOrders.tblOrders[0].JobType = dsFindOrder.tblCart[0].JobType;
            dsFindOrders.tblOrders[0].MediaType = dsFindOrder.tblCart[0].MediaType;
            dsFindOrders.tblOrders[0].Message = dsFindOrder.tblCart[0].Message;
            dsFindOrders.tblOrders[0].PaymentOption = chkPaymentOption.Text;

            IDforUserID.Text = dsFindUser.tblUsers[0].ID.ToString();

            Master.UserFeedBack.Text = "Found " + txtUsername.Text + ", " + lblCurrentUser.Text + "!";

            lblCurrentUser.Text = "systemAdmin";

            lblCustList.Visible = true;
            gvCustomerList.Visible = true;

            lblSearch.Visible = true;
            txtSearch.Visible = true;
            btnFindUsername.Visible = true;

            txtUsername.Enabled = false;
            txtSearch.Enabled = true;
            btnFindUsername.Enabled = true;

            btnDelete.Enabled = true;
            btnDelete.Visible = true;

            if (txtUsername.Text.Contains("systemAdmin"))
            {
                // If the Username and their data is found then it is pulled and user is informed the record has been found
                txtUsername.Text = dsFindUsername.tblCustomers[0].UserID;
                txtFirstName.Text = dsFindUsername.tblCustomers[0].FirstName;
                txtLastName.Text = dsFindUsername.tblCustomers[0].LastName;
                txtEmail.Text = dsFindUsername.tblCustomers[0].Email;
                txtLine1.Text = dsFindUsername.tblCustomers[0].Address1;
                txtLine2.Text = dsFindUsername.tblCustomers[0].Address2;
                txtCity.Text = dsFindUsername.tblCustomers[0].City;
                txtState.Text = dsFindUsername.tblCustomers[0].State;
                txtPhone.Text = dsFindUsername.tblCustomers[0].PhoneNumber;
                customerID.Text = dsFindUsername.tblCustomers[0].CustomerID.ToString();

                IDforUserID.Text = dsFindUser.tblUsers[0].ID.ToString();

                Master.UserFeedBack.Text = "Found admin " + txtUsername.Text + ", " + lblCurrentUser.Text + "!";

                lblCustList.Visible = true;
                gvCustomerList.Visible = true;

                lblSearch.Visible = true;
                txtSearch.Visible = true;
                btnFindUsername.Visible = true;

                txtUsername.Enabled = false;
                txtSearch.Enabled = true;
                btnFindUsername.Enabled = true;

                btnDelete.Enabled = false;
                btnDelete.Visible = false;
            }

    }
}