Ver Mensaje Individual
  #1 (permalink)  
Antiguo 11/07/2011, 14:23
mrprogman
 
Fecha de Ingreso: junio-2011
Mensajes: 329
Antigüedad: 12 años, 10 meses
Puntos: 2
Error textbox y 0

necesito q si un valor de un texbox sea 0 marque cero pero me marca este error...

error Conversion from string "" to type 'Double' is not valid.

If TextBox68.Text = "0" Then

'TextBox68.Text = "0"
Label30.Text = "la operacion no se puede completar "
Else
Dim metaaldia As Integer = TextBox68.Text / TextBox65.Text * TextBox61.Text
TextBox69.Text = String.Format("${0:#,#0.00}", metaaldia)
End If