From 3164ecc041524353f6beebd7cb4dd92f923c139f Mon Sep 17 00:00:00 2001 From: rrene Date: Tue, 22 Oct 2024 15:59:46 -0700 Subject: [PATCH] =?UTF-8?q?--=20mejora=20en=20validaci=C3=B3n?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- AF/CatAF.aspx.vb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AF/CatAF.aspx.vb b/AF/CatAF.aspx.vb index e8dfe0bfd..728bba33b 100644 --- a/AF/CatAF.aspx.vb +++ b/AF/CatAF.aspx.vb @@ -294,7 +294,9 @@ Partial Class AF_CatAF GvDatos.DataSource = DtActivosFijos GvDatos.DataBind() - LtlTotalRegistros.Text = DtActivosFijos.Rows.Count.ToString.FormatoNumero(0) + If DtActivosFijos IsNot Nothing Then + LtlTotalRegistros.Text = DtActivosFijos.Rows.Count.ToString.FormatoNumero(0) + End If UpGV.Update() OrdenaDatos()