-- option strict on
This commit is contained in:
@@ -91,10 +91,10 @@ Partial Class Acumuladores_CatFoliosGarantia
|
||||
BtnAgregarFolioGarantiaModal.Text = "Agregar"
|
||||
CargaCombosModal()
|
||||
|
||||
If DdlMarca.SelectedValue <> -1 Then DdlMarcaM.SelectedValueExist(DdlMarca.SelectedValue.ToEntero)
|
||||
If DdlTipoUso.SelectedValue <> -1 Then DdlTipoUsoM.SelectedValueExist(DdlTipoUso.SelectedValue.ToEntero)
|
||||
If DdlMarca.SelectedValue <> "-1" Then DdlMarcaM.SelectedValueExist(DdlMarca.SelectedValue.ToEntero)
|
||||
If DdlTipoUso.SelectedValue <> "-1" Then DdlTipoUsoM.SelectedValueExist(DdlTipoUso.SelectedValue.ToEntero)
|
||||
|
||||
TxtMes.Text = TxtMes.Text.ToEntero + 1
|
||||
TxtMes.Text = (TxtMes.Text.ToEntero + 1).ToString
|
||||
TxtValor.Text = ""
|
||||
TxtMes.Focus()
|
||||
|
||||
@@ -128,7 +128,7 @@ Partial Class Acumuladores_CatFoliosGarantia
|
||||
If Not Actualizar Then
|
||||
If ObjAcum.GarantiasMesesAdd(DdlMarcaM.SelectedValue.ToEntero, DdlTipoUsoM.SelectedValue.ToEntero, TxtMes.Text.ToEntero, TxtValor.Text.ToDecimal, txtFechaI.Text.ToDate, UsuarioActual.CveUsuario, UsuarioActual.CveEmpresa) Then
|
||||
|
||||
TxtMes.Text = TxtMes.Text.ToEntero + 1
|
||||
TxtMes.Text = (TxtMes.Text.ToEntero + 1).ToString
|
||||
TxtValor.Text = ""
|
||||
TxtMes.Focus()
|
||||
|
||||
@@ -180,8 +180,7 @@ Partial Class Acumuladores_CatFoliosGarantia
|
||||
|
||||
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("CveGarantiaMes")
|
||||
Dim CveCapacitador As Integer = GvRow.DataKey("CveGarantiaMes").ToEntero
|
||||
|
||||
If objAcum.GarantiasMesesRemove(CveCapacitador, UsuarioActual.CveEmpresa) Then
|
||||
CargadatosGvFolioGarantia()
|
||||
@@ -202,12 +201,10 @@ Partial Class Acumuladores_CatFoliosGarantia
|
||||
Public Sub Edit_ClickFolioGarantia(sender As Object, e As EventArgs)
|
||||
|
||||
Dim GvRow As GridViewRow = DirectCast(DirectCast(sender, LinkButton).NamingContainer, GridViewRow)
|
||||
Dim activo As Boolean = 0
|
||||
|
||||
LtlTituloModalFolioGarantia.Text = "Editar Garantía de Mes"
|
||||
Actualizar = True
|
||||
|
||||
CveGarantiaMes = GvRow.DataKey("CveGarantiaMes")
|
||||
CveGarantiaMes = GvRow.DataKey("CveGarantiaMes").ToEntero
|
||||
|
||||
TxtMes.Text = GvRow.DataKey("Mes")
|
||||
TxtValor.Text = GvRow.DataKey("Valor")
|
||||
|
||||
Reference in New Issue
Block a user