-- option strict on
This commit is contained in:
@@ -169,8 +169,7 @@ Partial Class Acumuladores_CatTiposDefecto
|
||||
|
||||
Dim objAcum As New ClsAcumuladores
|
||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||
Dim activo As Boolean = 0
|
||||
Dim CveCapacitador As Integer = GvRow.DataKey("CveTipoDefecto")
|
||||
Dim CveCapacitador As Integer = GvRow.DataKey("CveTipoDefecto").ToEntero
|
||||
|
||||
If objAcum.TiposDefectoRemove(CveCapacitador, UsuarioActual.CveEmpresa) Then
|
||||
CargadatosGvTiposD()
|
||||
@@ -192,12 +191,11 @@ Partial Class Acumuladores_CatTiposDefecto
|
||||
Public Sub Edit_ClickTiposD(sender As Object, e As EventArgs)
|
||||
|
||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||
Dim activo As Boolean = 0
|
||||
|
||||
LtlTituloModalTiposD.Text = "Editar Tipo Defecto"
|
||||
Actualizar = True
|
||||
|
||||
CveTipoDefecto = GvRow.DataKey("CveTipoDefecto")
|
||||
CveTipoDefecto = GvRow.DataKey("CveTipoDefecto").ToEntero
|
||||
|
||||
TxtTiposD.Text = GvRow.DataKey("TipoDefecto")
|
||||
ChkEstatus.Checked = If(GvRow.DataKey("Estatus") = "Activo", True, False)
|
||||
|
||||
Reference in New Issue
Block a user