protected void DeleteClient()
        {
            lblAmendError.Text = "";
            bool   success    = false;
            string clientName = tbClientDesc.Text;

            try
            {
                using (QCAstServiceClient client = new QCAstServiceClient())
                {
                    success = client.DeleteClient(int.Parse(tbClientId.Text));
                }
                if (success)
                {
                    ClearListAndTextboxes();
                    lblSuccess.Text = string.Format("Client {0} has been successfully deleted.", clientName);
                }
                else
                {
                    lblAmendError.Text = "Cannot delete the client at this time. Please try again later.";
                }
            }
            catch (Exception ex)
            {
                NotifyWebmasterOfError("Billing", "Client Management", ex.ToString());
                lblAmendError.Text = string.Format("The website experienced a problem deleting client {0}. The webmaster has been notified and will be attending to the problem.", clientName);
            }
        }