Esempio n. 1
0
        static void Main(string[] args)
        {
            ExcelWorker test = new ExcelWorker("D:/table.xlsx");

            try
            {
                test.Open(ReadOnly: false);
                int rows    = test.Rows;
                int columns = test.Columns;
                //2:51
                for (int i = 1; i <= 10; i++)
                {
                    object[] str = test.ReadRow(i);
                }



                test.Close();
            }
            catch (Exception e)
            {
                test.Close();
            }
        }