From 8ab3b0943c4eb8e4c01d80d44c6b1eddf062e863 Mon Sep 17 00:00:00 2001 From: rrene Date: Tue, 27 Dec 2022 07:54:19 -0700 Subject: [PATCH] - ifnull cveusuario --- LogIn.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/LogIn.aspx.vb b/LogIn.aspx.vb index 3cf8db7c6..1ec1f9d38 100644 --- a/LogIn.aspx.vb +++ b/LogIn.aspx.vb @@ -11,7 +11,7 @@ Partial Class LogIn #Region " PROPIEDADES " Private Property CveUsuario As Integer Get - Return ViewState("CveUsuario").ToString.ToEntero + Return IfNull(ViewState("CveUsuario"), "-1").ToString.ToEntero End Get Set(value As Integer) ViewState("CveUsuario") = value