protected void Button2_Click(object sender, EventArgs e) { ServiceReference1.BancoClient sr = new ServiceReference1.BancoClient(); sr.AñadirProductos(int.Parse(txtIdProducto.Text), txtDescripcion.Text, int.Parse(txtValor.Text), int.Parse(txtIdPatrocinador.Text)); }