-- cambios en manejo de GlobalDTs

This commit is contained in:
2023-02-01 10:55:36 -07:00
parent 438abc98cf
commit 8465bda048
16 changed files with 68 additions and 63 deletions

View File

@@ -51,13 +51,14 @@ Partial Class GPS_UsuariosRastreo
End Sub
Public Sub CargaGlobal()
Dim ObjUsuarios As New ClsSisUsuarios
If ObjUsuarios.GetUsuariosEmpresas(-1) Then
GlobalDTUsuarios(-1) = ObjUsuarios.DtResultados
Else
GlobalDTUsuarios() = Nothing
End If
ObjUsuarios.Dispose()
GlobalDTUsuarios(-1, UsuarioActual.CveEmpresa) = Nothing
'Dim ObjUsuarios As New ClsSisUsuarios
'If ObjUsuarios.GetUsuariosEmpresas(-1) Then
' GlobalDTUsuarios(-1) = ObjUsuarios.DtResultados
'Else
' GlobalDTUsuarios() = Nothing
'End If
'ObjUsuarios.Dispose()
End Sub
Protected Sub GvUsuarios_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvUsuarios.RowDataBound