How to send data through actionlink in asp.net?
问题 In the application that I am trying to make, I have a menu in my view as below: <ul id="menu"> <li>@Html.ActionLink("Create Project", "Display", "CreateDisplay")</li> <li>@Html.ActionLink("Open", "About", "Home")</li> </ul> where CreateDisplay is the name of a controller and Display is a method in that controller which will call another view. But, I want the Display method to accept certain parameters like username of the person. In the current view, I have obtained the username as @ViewData[