ASP.NET的一些小问题时间:2023-03-09 19:53:45 如何获取网站当前绝对路径? string path = HttpRuntime.AppDomainAppVirtualPath; 注:该路径结尾不含'/'。