摘要:
1、最原始的表单方式前端: 后台: [HttpPost] public ActionResult Test(FormCollection fc) { Person person=new Person(){Id = fc["Id"], Name = fc["Name"]}; return Json(person.Id+" "+person.Name, JsonRequestBehavior.AllowGet); }2、使用MVC默认的模型绑定 [HttpPost... 阅读全文