Example #1
0
 private void btnAgregarVehiculo_Click(object sender, EventArgs e)
 {
     WSServicios.serviciosSoapClient ws = new WSServicios.serviciosSoapClient();
     ws.WSGuardarVehiculo(tbModelo.Text, Convert.ToInt32(tbAno.Text), tbPrestaciones.Text, tbColor.Text, Convert.ToInt32(tbPuertas.Text), tbCombustible.Text, Convert.ToInt32(dddlValoracion.Value), Convert.ToDouble(tbPrecio.Text));
     lblInfo.Text = "Vehiculo aƱadido correctamente";
 }