标签:
UrlHelper u = new UrlHelper(this.ControllerContext.RequestContext); string url = u.Action("About", "Home", null);
生成超链接
string link = HtmlHelper.GenerateLink(this.ControllerContext.RequestContext, System.Web.Routing.RouteTable.Routes, "My link", "Root", "About", "Home", null, null);
标签:
原文地址:http://www.cnblogs.com/lgxtry/p/4569299.html