【MVC】使用FormCollection获取Form表单数据
时间:2019-02-18 10:17:30
收藏:0
阅读:663
public ActionResult Create(FormCollection form) { string name = form["name"]; //姓名 string mobile = form["mobile"]; //手机号 return View(); }
原文:https://www.cnblogs.com/zhangwj/p/10393841.html
评论(0)