string guid = System.Guid.NewGuid().ToString();
string filename = Path.GetFileName(FileUpload2.FileName);
string dateFolder = DateTime.Now.Year + "-" + DateTime.Now.Month;
string savePath =Server.MapPath("~/attach/" + dateFolder + "/" + dateFolder + "." + guid + "." + filename);
FileUpload2.PostedFile.SaveAs(savePath);
文件夹创建好 怎么往数据库里存路径 应该存什么路径 求指教
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货