Ver Mensaje Individual
Antiguo 21-mar-2008, 20:40   #6 (permalink)
ManuelV
ManuelV está en el buen camino
 
Fecha de Ingreso: octubre-2003
Mensajes: 98
Re: Sumas dos variables en c#..es facil, please!!!

Cita:
Iniciado por Peterpay Ver Mensaje
this.txtVuelto.Text =""+( int.Parse(txtEfectivo.Text) + int.Parse(txtSubTotal.Text));
gracias peterpay por la ayuda pero ahora me sale el siguiente error:

No se controló System.FormatException
Message="La cadena de entrada no tiene el formato correcto."


tambien probe con

this.txtVuelto.Text = Convert.ToString(int.Parse(txtEfectivo.Text) + int.Parse(txtSubTotal.Text));

y me sale lo mismo

¿?

manuel
ManuelV está desconectado   Responder Citando