。在数据层中我想的到目录的路径,string path=Server.MapPath("../upfile/");

日期:2022-04-04 23:47:17 人气:1

。在数据层中我想的到目录的路径,string path=Server.MapPath("../upfile/");

string path=Server.MapPath("~"); //网站根目录,可向下继续延伸如"~/Images"或"~/Images/Project"
    A+
热门评论