MVC4设置@Html.BeginForm的ID

 @using (Html.BeginForm("Serch", "Manage", FormMethod.Post, new { id = "searchuser_from", name = " searchuser_from "}))//(动作,控制器,提交方式,属性值)

你可能感兴趣的:(ASP.net,MVC)