
21/08/2012, 20:43
|
| | Fecha de Ingreso: agosto-2012
Mensajes: 1
Antigüedad: 12 años, 6 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 |