cambio a globaldtRHPersonal
This commit is contained in:
@@ -718,11 +718,14 @@ Partial Class Sistemas_UsuarioDetalle
|
|||||||
Private Sub CargaPersonal()
|
Private Sub CargaPersonal()
|
||||||
Dim dt As DataTable = Nothing
|
Dim dt As DataTable = Nothing
|
||||||
|
|
||||||
Dim RH As New ClsRH
|
'Dim RH As New ClsRH
|
||||||
If RH.GetPersonal(-1, DdlEmpresaAsignaciones.SelectedValue.ToEntero) Then
|
'If RH.GetPersonal(-1, DdlEmpresaAsignaciones.SelectedValue.ToEntero) Then
|
||||||
dt = RH.DtResultados
|
' dt = RH.DtResultados
|
||||||
|
'End If
|
||||||
|
'RH.Dispose()
|
||||||
|
If DdlEmpresaAsignaciones.SelectedValue.ToEntero > 0 Then
|
||||||
|
dt = GlobalDTRHPersonal(DdlEmpresaAsignaciones.SelectedValue.ToEntero)
|
||||||
End If
|
End If
|
||||||
RH.Dispose()
|
|
||||||
|
|
||||||
DdlPersonal.Items.Clear()
|
DdlPersonal.Items.Clear()
|
||||||
DdlPersonal.DataSource = dt
|
DdlPersonal.DataSource = dt
|
||||||
|
|||||||
Reference in New Issue
Block a user