MVC - Passing Data with RedirectToAction()

前端 未结 8 2128
既然无缘
既然无缘 2020-12-01 15:17

I\'d like to take data entered in an MVC user form and display it in a different view.

The class has the following private variable:

IList

        
8条回答
  •  感情败类
    2020-12-01 16:13

    It looks like you are looking for the UpdateModel command:

    Check out ScottGu's blog post on the topic:

    Improved UpdateModel and TryUpdateModel methods

提交回复
热议问题