Answer Posted / Pallavi Singh
TempData is a feature in ASP.NET MVC that allows you to pass data between actions, typically for a single request-response cycle. Unlike ViewData and ViewBag, TempData stores data as Session variables, which means it persists beyond a single action execution.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers