I am using ASP.NET MVC 1. I want to pass an int value to from an action to view. I can use 2 ways.
- Use ViewData dictionary.
- Define a class to contain the int value.
Other these two, Is there a way to pass the int value to view so that I can get the int value using just Model like
<label><%= Model %></label>