Home > Net > C # how to obtain a CSV file name and change
C # how to obtain a CSV file name and change
Time:09-28
Here have a lot of the CSV file is automatically generated according to the time, every CSV file has a different id, I want to take the CSV inside content into a CSV file name, CSV file name is not fixed, for example, 20191011120354. The CSV to each file corresponding to the id. CSV
CodePudding user response:
Change the File with the File. Move Read and write text files in the File. The File and ReadAllText. WriteAllText