// GET: /F2Demo/FormView public ActionResult FormView() { InitFormView("查看页面"); return(View(Form_M.ToViewModel(1, "默认每行3个", DateTime.Now, 1.23f, 2.42343243432434d, 'a'))); }
public ActionResult Form(int count = 3) { //var temp = _contents.GetTableValue("10001", "我是relationKeyId"); InitForm("FormDemo"); return(View("Form" + count, Form_M.ToViewModel(1, "我是string", DateTime.Now, 1.23f, 2.42343243432434d, 'a'))); }