Segments属性将会返回一个以“/”为分隔的URL数组,这个URL数组同时也是来自absolute path
例如:
利用该属性我们可以很快速的获取当前页面文件:
Request.Url.Segments[Request.Url.Segments.Length
-
1
].ToString()
灰长适合用于分页通用类~
Segments属性将会返回一个以“/”为分隔的URL数组,这个URL数组同时也是来自absolute path
例如:
利用该属性我们可以很快速的获取当前页面文件:
灰长适合用于分页通用类~
转载于:https://www.cnblogs.com/crazybruce/archive/2009/12/12/1622287.html