首页 > 技术文章 > MVC4设置@Html.BeginForm的ID

opts 2018-02-28 15:31 原文

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

推荐阅读