如何获取asp.net C#中主目录和子目录中包含的所有页面的URL [英] How to get url of all pages that contains in main directories and subdirectories in asp.net c#
本文介绍了如何获取asp.net C#中主目录和子目录中包含的所有页面的URL的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
如何获取asp.net中主目录和子目录中包含的所有页面的URL c#
How to get url of all pages that contains in main directories and subdirectories in asp.net c#
推荐答案
可能您正在寻找Sever.MapPath
( MSDN链接 [
Suspect you may be looking forSever.MapPath
(MSDN Link[^])
Quote:
The MapPath method maps the specified relative or virtual path to the corresponding physical directory on the server.
Hope this helps,
Ed :)
这篇关于如何获取asp.net C#中主目录和子目录中包含的所有页面的URL的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文