Hi....
I want to pass values of one view to another view in mvc. For example suppose I have a view which have fields EmployeeID and EmployeeName. When I click on Submit button then those values will display on another page.
I can do it by using ViewData or ViewBag property but I would like to do it without help of these properties.
Please help me.
Passing values from one view to another view.
876307-Sep-2011
Updated on 09-Sep-2011
Chris Anderson
09-Sep-2011Hello James,
You can use Model class properties or objects to pass data from one view to another instead of using ViewBag, ViewData and TempData properties.
Thanks.