RegPrePolizas se vacio Grid al editar pre poliza ya creada

This commit is contained in:
rakcsle
2024-05-31 12:54:29 -07:00
parent 9344b47e4e
commit 3fe6e4a0ed
2 changed files with 5 additions and 5 deletions

View File

@@ -1690,7 +1690,7 @@ Partial Class ContabilidadC_RegPrePolizaS
End If
If DdlPlantilla.SelectedValue.ToEntero <> 53 Then
If DdlPlantilla.SelectedValue.ToEntero <> 53 And Not CvePrePoliza > 0 Then
Dim x As Integer = 0
For Each gvRow As GridViewRow In GvMov.Rows
@@ -1769,7 +1769,7 @@ Partial Class ContabilidadC_RegPrePolizaS
DtMovimientos.AcceptChanges()
If DdlPlantilla.SelectedValue.ToEntero <> 53 Then
If DdlPlantilla.SelectedValue.ToEntero <> 53 And Not CvePrePoliza > 0 Then
GvMov.DataSource = DtMovimientos
GvMov.DataBind()
GvPrePoliza.DataBind()