There are several ways available to pass data from a controller to a view in an ASP.Net MVC application.
1.ViewBag or ViewData 2.Data Strongly typed view
The following are the advantages of using strongly typed views. We will get
- Intellisense
- Compile time error checking
Post Views: 262