<a href="/user/resume/index/11">
   <span class="title bold">我的 @Request.RequestContext.RouteData.Values["id"]</span>
 </a>

如上代码如果想取最后的ID值11,只要如下做就行了:

@Request.RequestContext.RouteData.Values["id"]

没有路由则直接用@Request.QueryString["id"]

学习交流群:364976091