private void cargar_GridView_RESULTADOS_BUSQUEDA() { tools _tools = new tools(); SecureQueryString QueryStringSeguro; QueryStringSeguro = new SecureQueryString(_tools.byteParaQueryStringSeguro(), Request["data"]); Programa.Areas AREA = (Programa.Areas)Enum.Parse(typeof(Programa.Areas), HiddenField_ID_AREA.Value); EntidadColaboradora _entidad = new EntidadColaboradora(Session["idEmpresa"].ToString(), Session["USU_LOG"].ToString()); DataTable tablaEntidades = _entidad.ObtenerTodasEntidadesPorArea(AREA); if (tablaEntidades.Rows.Count <= 0) { if (_entidad.MensajeError == null) { Informar(Panel_FONDO_MENSAJE, Image_MENSAJE_POPUP, Panel_MENSAJES, Label_MENSAJE, "No se encontraron registros de Entidades Colaboradoras.", Proceso.Advertencia); } else { Informar(Panel_FONDO_MENSAJE, Image_MENSAJE_POPUP, Panel_MENSAJES, Label_MENSAJE, _entidad.MensajeError, Proceso.Error); } Panel_RESULTADOS_GRID.Visible = false; } else { GridView_RESULTADOS_BUSQUEDA.DataSource = tablaEntidades; GridView_RESULTADOS_BUSQUEDA.DataBind(); } }