摘要:
System.Web.Routing.RouteTable.Routes.GetVirtualPath(Request.RequestContext, new System.Web.Routing.RouteValueDictionary(new { action = "Index", id = 999 }));可用此方法在Controller层生成链接地址,避免硬编码带来重复修改 阅读全文
posted @ 2012-05-14 22:21 yjss 阅读(410) 评论(0) 推荐(0) 编辑