Home > Net >  Html. The problem of ActionLink parameters
Html. The problem of ActionLink parameters

Time:10-19

@ Html. ActionLink (ArticleList) [r]. "Title" the ToString (), "Article", "Home", the new {id="22"}, null);
In this way the generated HTML is

Less? Id=22
In the Article page do not achieve value passed
String id=Request. The QueryString (" id "); Is empty
With normal

There is no problem
  • Related