zoukankan      html  css  js  c++  java
  • MVC动态生成的表单:表单元素比较多 你就这样写

    MVC动态生成的表单:表单元素比较多 你就这样写:

    public ActionResult ShoudaanActionResult(FormCollection from,T_UserM user)
    {
    List<string> daan = new List<string>();
    for (int i = 4; i < from.Count; i++)
    {
    daan.Add(from[i].ToString());
    }
    QSAcceptAnswer qaa = new QSAcceptAnswer();
    //插入答案表
    qaa.insertQSUserAnswer(daan);
    qaa.qsGuid = preItem.T_qsGuid;
    //插入基本调查用户信息
    qaa.insertUserTable(user);
    return RedirectToAction("SuccessActionResult");
    }

  • 相关阅读:
    各职业岗位说明
    感慨集中所
    批量插入测试数据
    写作技巧
    Cordova学习
    CocoStudio
    maven使用感受
    org.json
    ApplicationContext
    2017
  • 原文地址:https://www.cnblogs.com/jinhaoObject/p/4546130.html
Copyright © 2011-2022 走看看