protected void btnModificar_Click(object sender, EventArgs e)
 {
     Servicio.TiendaOnlineClient servicio = new Servicio.TiendaOnlineClient();
     try
     {
         XmlSerializer serializador = new XmlSerializer(typeof(Producto));
         StringWriter  escritor     = new StringWriter();
         Producto      prod         = new Producto()
         {
             Id           = int.Parse(txtId.Text),
             Nombre       = txtNombre.Text,
             Stock        = int.Parse(txtStock.Text),
             TipoProducto = ddlTipoProducto.SelectedItem.ToString(),
             Descripcion  = txtDescripción.Text,
             Precio       = int.Parse(txtPrecio.Text),
             imgUrl       = "/img/" + FileImg.FileName
         };
         serializador.Serialize(escritor, prod);
         if (!servicio.ActualizarProdcuto(escritor.ToString()))
         {
             throw new ArgumentException("No se pudo actualizar");
         }
         lblMensajes.Text = "Actualizado";
         Limpiar();
     }
     catch (Exception ex)
     {
         lblMensajes.Text = ex.Message;
     }
     servicio.Close();
 }