Ejemplo n.º 1
0
        public static List <SplitEuidDto> GetSplitFile(string pathToExcelFile)
        {
            ConnexionExcel ConxObject = new ConnexionExcel(pathToExcelFile);

            //Query a worksheet with a header row
            var rows = (from a in ConxObject.UrlConnexion.Worksheet <SplitEuidDto>(0)
                        select a).ToList();

            return(rows);
        }
Ejemplo n.º 2
0
        public static List <InfoFieldBook> GetData(string pathToExcelFile)
        {
            ConnexionExcel ConxObject = new ConnexionExcel(pathToExcelFile);

            //Query a worksheet with a header row
            var rows = (from a in ConxObject.UrlConnexion.Worksheet <InfoFieldBook>(0)
                        select a).ToList();

            return(rows);
        }