Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在我的 cshtml 页面上添加 AZ 过滤器。任何人都可以帮我补充一下吗?
我想要索引页面。并且任何人单击 A 然后控制转到带有查询字符串的 A。
你的意思是这样的:
<ul> @for (int i = 65; i < 91; i++) { <li>@Html.ActionLink(((char) i).ToString(), "Index","Home", new {query = (char) i}, null) </li> } </ul>