Here Mudassar Ahmed Khan has explained with an example, how to pass (send) data from one View to another in ASP.Net MVC Razor.
The data from the Source View will be posted (submitted) using Form Post to the Controller’s Action method of the Destination View.
Then finally, the received data will be displayed in the Destination View using ViewBag.
↧