using System.IO;
if (!IsPostBack)
{
string fullPath = Server.MapPath("../Uploads/Users/") + username;
if (!Directory.Exists(fullPath))
{
Directory.CreateDirectory(fullPath);
}
Editor1.SetSecurityGalleryPath("~/Uploads/Users/" + username);
}
阅读(276) | 评论(0) | 转发(0) |