Corregir errores de compilación

This commit is contained in:
MLopez
2023-02-11 11:05:09 -07:00
parent f1495d6ad4
commit f8447845b8
5 changed files with 29 additions and 80 deletions

View File

@@ -52,11 +52,11 @@ Partial Class MovimientosconProveedores
ViewState("DTCuentas") = value
End Set
End Property
Private Property CveSubProyecto As String
Private Property CveSubProyecto As Integer
Get
CveSubProyecto = ViewState("CveSubProyecto").ToString
CveSubProyecto = CType(ViewState("CveSubProyecto"), Integer)
End Get
Set(value As String)
Set(value As Integer)
ViewState("CveSubProyecto") = value
End Set
End Property
@@ -108,7 +108,7 @@ Partial Class MovimientosconProveedores
End If
If Request("CveSubProyecto") IsNot Nothing AndAlso IsNumeric(Request("CveSubProyecto")) Then
CveSubProyecto = Request("CveSubProyecto").ToString
CveSubProyecto = Request("CveSubProyecto").ToEntero
End If
@@ -184,9 +184,9 @@ Partial Class MovimientosconProveedores
End If
'Dim CveSubProyecto As String
If Request("CveSubProyecto") IsNot Nothing Then
CveSubProyecto = Request("CveSubProyecto").ToString
CveSubProyecto = Request("CveSubProyecto").ToEntero
Else
CveSubProyecto = DdlSubproyecto.SelectedValue.ToEntero.ToString
CveSubProyecto = DdlSubproyecto.SelectedValue.ToEntero
End If
If ObjConta.GetAnexoCatalogo(IdCuenta, FechaInicio, FechaFin, DdlCuenta.SelectedValue.ToEntero, CveSubProyecto, UsuarioActual.CveEmpresa, TipoReporte, 1) Then