asp.net mvc 用<%= Html.ActionLink("name", "Update", new { id1 = 10})%>
如果我要在传个参数id2该怎么写
Controllers那怎么接id2
public ActionResult Update(int ? id1)
asp.net mvc 用<%= Html.ActionLink("name", "Update", new { id1 = 10,id2=10})%>
建立新的action
public ActionResult Update(int ? id1 , int? id2)