Compilación
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user