Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CSHARP

how to create directory folder in c#

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));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #create #directory #folder
ADD COMMENT
Topic
Name
5+9 =