From 641b0388737da5d89366181dcc633bbd4b3d3167 Mon Sep 17 00:00:00 2001 From: Jorge Luis caudillo esparza Date: Tue, 24 Jun 2025 14:28:11 -0700 Subject: [PATCH] [Fix(Chechadores)] se reparo un error ejecucion al entrar al catalogo con cero items en el grid --- RH/CatChecadores.aspx.cs | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/RH/CatChecadores.aspx.cs b/RH/CatChecadores.aspx.cs index 7e3ca781d..cb3c9138b 100644 --- a/RH/CatChecadores.aspx.cs +++ b/RH/CatChecadores.aspx.cs @@ -42,7 +42,10 @@ public partial class RH_CatChecadores : ClsPaginas ObjRH.Dispose(); GvDatos.DataBind(); - GvDatos.HeaderRow.Cells[1].Text = LblSubProyecto.Text; + if(GvDatos.HeaderRow != null && GvDatos.HeaderRow.Cells.Count > 0) + { + GvDatos.HeaderRow.Cells[1].Text = LblSubProyecto.Text; + } } private void CargaSubProyectos()