private void CargarHistorialAjustesAPresupuesto(Decimal ID_DETALLE) { Programa _prog = new Programa(Session["idEmpresa"].ToString(), Session["USU_LOG"].ToString()); DataTable tablaHistorialAjustes = _prog.ObtenerHistorialAjustesPresupuesto(ID_DETALLE); if (tablaHistorialAjustes.Rows.Count <= 0) { if (_prog.MensajeError != null) { Informar(Panel_MENSAJES, Image_MENSAJE_POPUP, Panel_MENSAJES, Label_MENSAJE, _prog.MensajeError, Proceso.Error); } Panel_HistorialAjustesPresupuesto.Visible = false; } else { Panel_HistorialAjustesPresupuesto.Visible = true; Cargar_GridView_HistorialAjustesPresupuesto_DesdeDataTable(tablaHistorialAjustes); } }