コード例 #1
0
        static void Main(string[] args)
        {
            string fileOutPath = @"D:\test_csv.csv";
            string fileInPath  = @"D:\test_excel.xlsm";
            //instaniate class
            ConvertExcel convert = new ConvertExcel();
            //read from excel
            LocationInfo locInfo = convert.ReadInfoFromExcel(fileInPath);

            //write out to CSV
            convert.WriteToCSV(locInfo, fileOutPath);
        }
コード例 #2
0
        static void Main(string[] args)
        {
            string fileOutPath = @"D:\SEPs2.0\All-SEPs\Splice-100769.csv";
            string fileInPath  = @"D:\SEPs2.0\All-SEPs\Splice-100769.xlsm";
            //instaniate class
            ConvertExcel convert = new ConvertExcel();
            //read from excel
            LocationInfo locInfo = convert.ReadInfoFromExcel(fileInPath);

            //write out to CSV
            convert.WriteToCSV(locInfo, fileOutPath);
        }