string subPath ="ImagesPath"; // your code goes here
bool exists = System.IO.Directory.Exists(Server.MapPath(subPath));
if(!exists)
System.IO.Directory.CreateDirectory(Server.MapPath(subPath));
'C#(CSharp) > Etc' 카테고리의 다른 글
Windows/C# Timezone List (0) | 2018.04.09 |
---|---|
C# if/then directives for debug vs release (0) | 2018.04.07 |
How to properly exit a C# application? (0) | 2018.03.29 |
int to string 4 digit (ex) 100 -> 0100 (0) | 2018.02.19 |
Internet Feature Controls (0) | 2018.02.05 |