cambio a globaldtRHPersonal
This commit is contained in:
@@ -716,14 +716,17 @@ Partial Class Sistemas_UsuarioDetalle
|
|||||||
'DdlSubProyectos.SelectedValueExist(CveSubProyecto)
|
'DdlSubProyectos.SelectedValueExist(CveSubProyecto)
|
||||||
End Sub
|
End Sub
|
||||||
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
|
'End If
|
||||||
RH.Dispose()
|
'RH.Dispose()
|
||||||
|
If DdlEmpresaAsignaciones.SelectedValue.ToEntero > 0 Then
|
||||||
|
dt = GlobalDTRHPersonal(DdlEmpresaAsignaciones.SelectedValue.ToEntero)
|
||||||
|
End If
|
||||||
|
|
||||||
DdlPersonal.Items.Clear()
|
DdlPersonal.Items.Clear()
|
||||||
DdlPersonal.DataSource = dt
|
DdlPersonal.DataSource = dt
|
||||||
DdlPersonal.DataBind()
|
DdlPersonal.DataBind()
|
||||||
|
|||||||
Reference in New Issue
Block a user