Introduction This article demonstrates an interesting and very useful concept in ASP.NET MVC. Question: What is ViewBag? In simple terms "ViewBag is the data holder that enables the definition of a dynamic property and holds the data that can be passed from a controller to a view". Step 1: Create a new ASP.NET MVC application
Step 2: Adding new Model
I hope this article was useful for you. I look forward to your comments and feedback. Thanks, Vijay.