C# SaveAs 方法配置根路径

string savepath = Server.MapPath("filesPath");

//HttpContext.Request.MapPath("FilesPath") 

 HttpPostedFile.SaveAs(savepath);

posted @ 2012-08-09 10:34  dekevin  阅读(2059)  评论(0编辑  收藏  举报