Compilación

This commit is contained in:
rakcsle
2023-08-24 17:53:05 -07:00
parent e0800e68d2
commit 435a92dea3
12 changed files with 86 additions and 33 deletions

View File

@@ -29,7 +29,7 @@ Partial Class RH_CatPuestosSueldos
DDL.DataSource = GlobalDTRHPuestos(UsuarioActual.CveEmpresa).FiltraParametros(String.Format(" (CvePuesto NOT IN({0}) OR CvePuesto={1})", FiltroPuestos, CvePuesto))
DDL.DataBind()
If CvePuesto > 0 Then
DDL.SelectedValue = CvePuesto
DDL.SelectedValueExist(CvePuesto)
End If
End Sub
@@ -75,7 +75,7 @@ Partial Class RH_CatPuestosSueldos
Protected Sub GvDatos_RowUpdating(sender As Object, e As System.Web.UI.WebControls.GridViewUpdateEventArgs) Handles GvDatos.RowUpdating
Dim index As Integer = e.RowIndex
Dim cvepuesto As Integer = GvDatos.Rows(index).FCHiddenField("CvePuesto").Value.ToString.ToEntero
Dim Importe As Integer = GvDatos.Rows(index).FCTextBox("TxtSueldo").Text.ToString.ToDouble
Dim Importe As Integer = GvDatos.Rows(index).FCTextBox("TxtSueldo").Text.ToString.ToEntero
Dim objRH As New ClsRH
If objRH.UpdatePuestosSueldos(cvepuesto, Importe) Then
GvDatos.EditIndex = -1
@@ -92,7 +92,7 @@ Partial Class RH_CatPuestosSueldos
Dim index As Integer = e.NewEditIndex
GvDatos.EditIndex = index
cargaGVDatos()
CargaPuestos(GvDatos.Rows(index).FCDropDownList("DdlPuesto"), GvDatos.Rows(index).FCHiddenField("CvePuesto").Value)
CargaPuestos(GvDatos.Rows(index).FCDropDownList("DdlPuesto"), GvDatos.Rows(index).FCHiddenField("CvePuesto").Value.ToEntero)
End Sub
#End Region