@using (Ajax.BeginForm("", "", null, new AjaxOptions
{
InsertionMode = InsertionMode.Replace,
HttpMethod = "post",
OnSuccess = "Success(data)",
OnFailure = "alert('数据存储异常!')"
}))
{} 异步的表单提交
@using (Html.BeginForm("","",FormMethod.Post, null
{
///
///
}普通的form提交