Mention what is the difference between viewdata and viewbag?
Answer / Prakhar Bajpai
ViewData is a dictionary object that stores data for transmission to a view, while ViewBag provides dynamic access to view data without explicitly declaring types.
| Is This Answer Correct ? | 0 Yes | 0 No |
How to perform exception handling in mvc?
Why do we need viewmodel in mvc?
What is dependency in mvc?
What is the use of spring mvc?
What is mvc viewdata?
What is mvc httppost?
What do you mean by action methods?
what are the benefits of area in mvc?
How you can send the result back in json format in mvc?
Mention the benefits of area in mvc
What is route in mvc what is default route in mvc?
What is the advantages of mvc?