初次使用TempData時,請在ViewData中進行設置,並按如下所示進行檢查: public ActionResult Index() { TempData['nickname'] = Person.nickname; ...
確定! 回上一頁