QuesHub > ViewData > > ViewData > ASK DETAIL

What is the difference between Tempdata viewdata and Viewbag 2024?

Lucas Davis | 2023-05-05 03:16:30 | page views:1192
I'll answer
Earn 20 gold coins for an accepted answer.20 Earn 20 gold coins for an accepted answer.
40more

Julian Patel

Works at the International Development Association, Lives in Washington, D.C., USA.
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.
2023-05-15 03:16:30

Oliver Patel

QuesHub.com delivers expert answers and knowledge to you.
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.
ask:3,asku:1,askr:137,askz:21,askd:152,RedisW:0askR:3,askD:0 mz:hit,askU:0,askT:0askA:4