상속: IDisposable
예제 #1
0
        public Workbook(String filename)
        {
            using (ExcelLoader excel = new ExcelLoader(filename, 2, 3, 4))
            {
                foreach (ExcelSheetReader reader in excel.GetReaderEnumerator())
                {
                    if (reader.SheetName.Length == 0 || reader.SheetName[0] == '#')
                        continue;

                    Items.Add(reader.SheetName, new SheetData(reader));
                    if (Items.Count() >= Global.MaxTableCount)
                        break;
                }
            }
        }
예제 #2
0
 internal ExcelSheetReader(ExcelLoader parent, Sheet sheet)
 {
     ExcelLoader = parent;
     _sheet = sheet;
 }