2013-07-10 38 views

回答

2

包裝在一個窗體(GET方法,並使其「提交」,而不是「復位」,因爲它基本上是一個鏈接回索引頁):

@using (Html.BeginForm("Index", "MyController", FormMethod.Get)) 
{ 
    <input type='submit' value='Cancel' class='btn' /> 
} 
相關問題