keep viewdata on RedirectToAction. [AcceptVerbs(HttpVerbs.Post)] public ActionResult CreateUser([Bind(Exclude = "Id")] User user) { ... db.
確定! 回上一頁