Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在努力寻找路径。不确定是否应该是:
string driveLetter = Server.MapPath("~/Docs/");
或者
string driveLetter = Server.MapPath("~/Docs");
如果您想要 Docs 文件夹的物理文件路径,那么只需使用