Ver Mensaje Individual
  #4 (permalink)  
Antiguo 21/08/2012, 20:43
hans17kaoz
 
Fecha de Ingreso: agosto-2012
Mensajes: 1
Antigüedad: 11 años, 8 meses
Puntos: 0
Respuesta: Saber el tipo de dato en VB.NET

Dim X = txt1.Text

If IsNumeric(X) Then
lbl1.Text = "TIPO NUMERICO"
ElseIf IsDate(X) Then
lbl1.Text = "TIPO FECHA"
Else
lbl1.Text = "TIPO STRING"
End If


es algo basico pero funciona