-
This commit is contained in:
@@ -111,15 +111,15 @@ Partial Class RepContratosCalendario
|
|||||||
ObjContratos.IniciaTransacSQL()
|
ObjContratos.IniciaTransacSQL()
|
||||||
|
|
||||||
If ObjContratos.UpdateContratoAF(CveContrato.Value.ToEntero, DdlAF.SelectedValue.ToEntero, DdlChofer.SelectedValue.ToEntero, UsuarioActual.CveEmpresa) Then
|
If ObjContratos.UpdateContratoAF(CveContrato.Value.ToEntero, DdlAF.SelectedValue.ToEntero, DdlChofer.SelectedValue.ToEntero, UsuarioActual.CveEmpresa) Then
|
||||||
ObjContratos.Commit()
|
ObjContratos.Commit()
|
||||||
Alert("Actualizado Correctamente.")
|
Alert("Actualizado Correctamente.")
|
||||||
Else
|
Else
|
||||||
ObjContratos.RollBack()
|
ObjContratos.RollBack()
|
||||||
End If
|
End If
|
||||||
|
|
||||||
ObjContratos.Dispose()
|
|
||||||
CargaDatos()
|
|
||||||
|
|
||||||
|
ObjContratos.Dispose()
|
||||||
|
CargaDatos()
|
||||||
|
End Sub
|
||||||
Protected Sub UpdateModal(sender As Object, e As EventArgs)
|
Protected Sub UpdateModal(sender As Object, e As EventArgs)
|
||||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user