-- SqlAdapter.SelectCommand.CommandTimeout = 0
This commit is contained in:
@@ -3980,21 +3980,19 @@ Public Class ClsContabilidad
|
|||||||
Return Retorno
|
Return Retorno
|
||||||
End Function
|
End Function
|
||||||
|
|
||||||
|
|
||||||
Public Function GetPolizasDescuadre(Optional Ejercicio As Integer = -1, Optional Periodo As Integer = -1, Optional CveEmpresa As Integer = -1) As Boolean
|
Public Function GetPolizasDescuadre(Optional Ejercicio As Integer = -1, Optional Periodo As Integer = -1, Optional CveEmpresa As Integer = -1) As Boolean
|
||||||
Dim Retorno As Boolean = False
|
Dim Retorno As Boolean = False
|
||||||
|
|
||||||
DataAdapter("PA_Sis_PolizasConDescuadreGet")
|
DataAdapter("PA_Sis_PolizasConDescuadreGet")
|
||||||
|
|
||||||
|
|
||||||
With SqlAdapter.SelectCommand.Parameters
|
With SqlAdapter.SelectCommand.Parameters
|
||||||
.Add("@Ejercicio", SqlDbType.Int).Value = Ejercicio
|
.Add("@Ejercicio", SqlDbType.Int).Value = Ejercicio
|
||||||
.Add("@Periodo", SqlDbType.Int).Value = Periodo
|
.Add("@Periodo", SqlDbType.Int).Value = Periodo
|
||||||
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
|
||||||
End With
|
End With
|
||||||
|
|
||||||
|
|
||||||
Try
|
Try
|
||||||
|
SqlAdapter.SelectCommand.CommandTimeout = 0
|
||||||
SqlAdapter.Fill(Data)
|
SqlAdapter.Fill(Data)
|
||||||
Retorno = True
|
Retorno = True
|
||||||
Catch ex As Exception
|
Catch ex As Exception
|
||||||
|
|||||||
Reference in New Issue
Block a user