Example #1
0
        public void SaveLoad_Data_AreEqual()
        {
            var file = new FileInfo("SaveLoad_Data_AreEqual.xml");

            var workbook = new XWorkbook()
            {
                ExcelWorkbook = new XExcelWorkbook()
                {
                },
                Worksheets = new List<XWorksheet>()
                {
                    new XWorksheet()
                    {
                        Name = "Tab1",
                        Table = new XTable()
                        {

                        },
                    },
                },
            };

            workbook.Save(file);

            var act = XWorkbook.Load(file);
        }