Esempio n. 1
0
        public List <RsCollectionReport> GetReports()
        {
            List <RsCollectionReport> lResult = new List <RsCollectionReport>();

            if (ReportFolder.hasChildren)
            {
                for (int i = 0; i < ReportFolder.ItemCount; i++)
                {
                    CReportItem iItem = ReportFolder[i];

                    if (iItem is CReportFile)
                    {
                        RsCollectionReport lReport = new RsCollectionReport((CReportFile)iItem);
                        lResult.Add(lReport);
                    }
                }
            }

            return(lResult);
        }
Esempio n. 2
0
        public List<RsCollectionReport> GetReports()
        {
            List<RsCollectionReport> lResult = new List<RsCollectionReport>();

            if (ReportFolder.hasChildren)
            {
                for (int i = 0; i < ReportFolder.ItemCount; i++)
                {
                    CReportItem iItem = ReportFolder[i];

                    if (iItem is CReportFile)
                    {
                        RsCollectionReport lReport = new RsCollectionReport((CReportFile)iItem);
                        lResult.Add(lReport);

                    }
                }
            }

            return lResult;
        }