protected void btnModificar_Click(object sender, EventArgs e)
    {
        try
        {
            for (int i = 0; i < txtTarjeta.Text.Length; i++)
            {
                if (!char.IsNumber(Convert.ToChar(txtTarjeta.Text.Substring(i, 1))))
                {
                    throw new Exception("Error en numero de tarjeta.");
                }
            }

            for (int i = 0; i < txtTelefono.Text.Length; i++)
            {
                if (!char.IsNumber(Convert.ToChar(txtTelefono.Text.Substring(i, 1))))
                {
                    throw new Exception("Error en numero de telefono.");
                }
            }

            Clientes c = new Clientes(Convert.ToInt32(txtCedula.Text), Convert.ToInt32(txtTarjeta.Text), txtNombre.Text,
                                      Convert.ToInt32(txtTelefono.Text), txtDireccion.Text, Convert.ToDateTime(txtFechaN.Text));
            LCliente.Modificar(c);
            Limpiar();
            lblError.Text = "Modificado Correctamente";
        }

        catch (Exception ex)
        { lblError.Text = ex.Message; }
    }