-
What is the difference between Tempdata viewdata and Viewbag 2024?
ViewData ViewData
Questioner:Oliver Davis 2023-05-05 03:16:30
The most authoritative answer in 2024
-

-
Julian Hall——Works at the International Fund for Agricultural Development, Lives in Rome, Italy.
ASP.NET MVC offers us three options -
ViewData ,
ViewBag and TempData for passing data from controller to view and in next request. ... Helps to maintain data when you move from controller to view. Used to pass data from controller to corresponding view. Short life means value becomes null when redirection occurs.
read more >>
About “ViewData、、ViewData”,people ask:
QuesHub is a place where questions meet answers, it is more authentic than Quora, but you still need to discern the answers provided by the respondents.