Exemplo n.º 1
0
        public IActionResult MetaData(string file)
        {
            // Extract file name from whatever was posted by browser
            var fileName = file;

            ViewBag.Message = "View Meta-data Definition for Current File: " + fileName;

            ExcelRead er = new ExcelRead(fileName);

            er.GetExcel(file);


            string one = "The name of the first worksheet in this workbook is: " + er.getNameOfSheet();

            //string two = er.ReadCell(1, 1);

            //ViewBag.ReadCell = two;

            return(View());
        }