我想创建一个URL,像这样
/?name=Macbeth&year=2011
,我尝试使用ActionLink
实现,代码如下:<%= Html.ActionLink("View Details", "Details", "Performances", new { name = item.show }, new { year = item.year })%>
但它不起作用。我该怎么办?