protected void btnEnviar_Click(object sender, EventArgs e)
        {
            string dni = this.inputDNI.Text;
            string mail = this.inputMail.Text;
            //CREAR XML CLIENTES Y VER SI EXISTIA....
            if (this.IsValid)
            {
                bool existe = controlFichero.compruebaCliente(dni, mail, ruta);

                if (existe)
                {
                    string to = this.inputMail.Text;

                    controlMail = new ControladorEmail(to);

                    this.infoEmail.Visible = true;
                }
            }

            else
            {
                return;

            }
        }
        protected void Button1_Click(object sender, EventArgs e)
        {
            if (this.IsValid)
            {
                controlEmail = new ControladorEmail();
                controlEmail.sendFactura(c, total, this.inputCuenta.Text);

                this.Response.Redirect("Inicio.aspx");

            }
            else
            {
                return;
            }
        }