My Experience with Ubuntu
Wednesday, October 19, 2011
Routing paramaters in MVC
In .NET MVC, you can access the routing parameters by using RouteData property of the ViewContext object similar to below.
ViewContext.RouteData.Values["id"]
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment