This commit is contained in:
2023-11-16 08:30:45 -07:00
parent 4c224d2a35
commit 8de0d1ed27

View File

@@ -270,7 +270,7 @@ Partial Class Compras_RepCxP
GvCxP.DataBind()
UPPDatos.Update()
Else
If DtDatos.Rows.Count > 0 Then
If DtDatos IsNot Nothing AndAlso DtDatos.Rows.Count > 0 Then
GvCxP.Columns(2).Visible = False
GvCxP.Columns(3).Visible = False
GvCxP.Columns(4).Visible = False