Exemplo n.º 1
0
        public void GetFilePathTest()
        {
            string TableName = "Product";

            // 取得完整檔名
            string FilePath = CSVManager.GetFilePath(TableName);

            // 切出檔案名稱 & 將檔案名稱再切成 {TableName, "YYYYMMDDHHMMSS.csv"}
            string[] PathSplit  = FilePath.Split("\\");
            string[] FnameSplit = PathSplit[^ 1].Split("_");