예제 #1
0
    private void CargarAnios()
    {
        Presupuesto _presupuesto = new Presupuesto(Session["idEmpresa"].ToString(), Session["USU_LOG"].ToString());

        DataTable tablaAnios = _presupuesto.ObtenerAniosYPresupuestos();

        if (_presupuesto.MensajeError != null)
        {
            Informar(Panel_FONDO_MENSAJE, Image_MENSAJE_POPUP, Panel_MENSAJES, Label_MENSAJE, _presupuesto.MensajeError, Proceso.Error);
        }
        else
        {
            GridView_Anios.DataSource = tablaAnios;
            GridView_Anios.DataBind();
        }
    }