【发布时间】:2013-06-18 13:20:15
【问题描述】:
@using (Html.BeginRouteForm("ProductSearch", FormMethod.Get))
{
<div class="page-title">
<h1>Search</h1>
</div>
<div class="clear">
</div>
<div class="search-inut">
//here there is code for product box of each product satisfying search condition
}
所有产品都作为查询字符串传递,有什么方法可以避免吗? 例如
http:\localhost:54632\mysite\q=sugar&sugar 5kg=1&sugar free=1.......
搜索结果中的所有产品都添加到查询字符串中
感谢
【问题讨论】:
标签: asp.net asp.net-mvc-3 razor