Tema: Null -.-
Ver Mensaje Individual
  #2 (permalink)  
Antiguo 26/02/2010, 05:53
lestatminiyo
 
Fecha de Ingreso: junio-2006
Mensajes: 84
Antigüedad: 17 años, 9 meses
Puntos: 1
Respuesta: Null -.-

Me autosoluciono

Código:
Try
            If Membership.GetUser.ProviderUserKey Is Nothing Then
                msguser.Text = "No has iniciado sesión!"
            Else
                Dim UserID As String
                UserID = Membership.GetUser.UserName.ToString()
                msguser.Text = "Bienvenido " & UserID
            End If
        Catch ex As Exception
            msguser.Text = "No has iniciado sesión!"
        End Try