protected void ibBtnSubmit_Click(object sender, ImageClickEventArgs e)
        {
            lblAmendError.Text = "";
            bool clientExists = false;

            try
            {
                if (tbClientDesc.Text == "" | tbClientCode.Text == "" | tbAccountingCode.Text == "")
                {
                    lblAmendError.Text =
                        "Please provide values for the 'Client Name', 'Client Code' and 'Accounting Code' fields.";
                }
                else
                {
                    using (QCAstServiceClient client = new QCAstServiceClient())
                    {
                        clientExists = client.CheckIfClientExists(tbAccountingCode.Text.Trim());
                    }

                    if (clientExists)
                    {
                        lblAmendError.Text = "Client already exists in the database";
                    }
                    else
                    {
                        AddClient();
                    }
                }
            }
            catch (Exception ex)
            {
                NotifyWebmasterOfError("Billing", "Client Management ibBtnSubmit_Click", ex.ToString());
                lblAmendError.Text =
                    "The website encountered a problem adding the client. The webmaster has been notified and will be attending to it shortly";
            }
        }