Ver Mensaje Individual
  #2 (permalink)  
Antiguo 10/02/2010, 09:23
mortentor
 
Fecha de Ingreso: mayo-2009
Mensajes: 6
Antigüedad: 15 años
Puntos: 0
Respuesta: Select Case String.Empty/Nothing

Hola,

estuve probando el código rápidamente y es raro que no funcione, pero probe con esto y funciona perfectamente.

Código ASP:
Ver original
  1. Dim string1 As String = String.Empty
  2.  
  3.         If string1 Is String.Empty Then
  4.             Console.WriteLine("String.Empty")
  5.         ElseIf string1 Is Nothing Then
  6.             Console.WriteLine("Nothing")
  7.         Else
  8.             Console.WriteLine("Correcto")
  9.         End If

ya me contará =)

Un saludo.