2016-03-17 101 views

回答

0

这应该是你在找什么

string directoryPath = Server.MapPath(string.Format("~/{0}/", txtFolderName.Text.Trim())); 
    if (!Directory.Exists(directoryPath)) 
    { 
     Directory.CreateDirectory(directoryPath); 
    } 
相关问题