现在的位置: 首页 > 综合 > 正文

ASP.NET中获取虚拟目录的物理路径

2012年11月05日 ⁄ 综合 ⁄ 共 81字 ⁄ 字号 评论关闭
1.当前应用程序
Request.PhysicalApplicationPath

2.其他虚拟目录
MapPath("\\signin");//signin为虚拟目录名

抱歉!评论已关闭.