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 |
Is angularjs mvvm or mvc?
What is data model in mvc?
What is mvc flow?
What are route constraints in mvc?
How you can implement ajax in mvc?
What is the difference between mvc and mvp?
What is the difference between apicontroller and mvc controller?
Why is mvc needed?
Mention what is the difference between viewdata and viewbag?
What is the purpose of mvc?
Is mvc faster than web forms?
What is mvc viewbag?