C# DirectoryInfo的路径问题
string[] s = Directory.GetFiles(@"D:\陈金龙实训\实训\NetShop\images\staticshop\qqq");
string[] filename = new string[s.Length];
for (int i = 0; i < s.Length; i++)
{
filename[i] = Path.GetFileName(s[i]);
}
string path = "../images/staticshop/" + TextBox1.Text;
DirectoryInfo my = new DirectoryInfo(path);
if(!my.Exists)
Directory.CreateDirectory(Server.MapPath(path));