private void btnEditar_Click(object sender, EventArgs e) { ServiceFootballer.ServicesClient soap = new ServiceFootballer.ServicesClient(); String id; String name; String forename; String position; String club; int number; double height; id = txtId.Text; name = txtNombre.Text; forename = txtApellido.Text; position = txtPosicion.Text; club = txtClub.Text; number = Convert.ToInt32(txtNumero.Text); height = Convert.ToDouble(txtEstatura.Text); ClienteSoap.ServiceFootballer.footballer footballer = new ClienteSoap.ServiceFootballer.footballer(); footballer.surname = name; footballer.id = id; footballer.forename = forename; footballer.position = position; footballer.number = number; footballer.height = height; footballer.club = club; soap.update(footballer); }
public bool update(ClienteSoap.ServiceFootballer.footballer arg0) { ClienteSoap.ServiceFootballer.updateRequest inValue = new ClienteSoap.ServiceFootballer.updateRequest(); inValue.arg0 = arg0; ClienteSoap.ServiceFootballer.updateResponse retVal = ((ClienteSoap.ServiceFootballer.Services)(this)).update(inValue); return(retVal.@return); }
private void btnBuscar_Click(object sender, EventArgs e) { ServiceFootballer.ServicesClient soap = new ServiceFootballer.ServicesClient(); String id; id = txtId.Text; ClienteSoap.ServiceFootballer.footballer f = soap.read(id); txtApellido.Text = f.surname; txtClub.Text = f.club; txtEstatura.Text = f.height.ToString(); txtNombre.Text = f.forename; txtNumero.Text = f.number.ToString(); txtPosicion.Text = f.position; }
public System.Threading.Tasks.Task <ClienteSoap.ServiceFootballer.updateResponse> updateAsync(ClienteSoap.ServiceFootballer.footballer arg0) { ClienteSoap.ServiceFootballer.updateRequest inValue = new ClienteSoap.ServiceFootballer.updateRequest(); inValue.arg0 = arg0; return(((ClienteSoap.ServiceFootballer.Services)(this)).updateAsync(inValue)); }
public updateRequest(ClienteSoap.ServiceFootballer.footballer arg0) { this.arg0 = arg0; }
public readResponse(ClienteSoap.ServiceFootballer.footballer @return) { this.@return = @return; }