I would like to know if is possible to set a default value for an attribute on my class in MVC asp.net 3.
At the moment I'm using this:
[DataType(DataType.DateTime)]
I would like to know if is possible to set a default value for an attribute on my class in MVC asp.net 3.
At the moment I'm using this:
[DataType(DataType.DateTime)]
Maybe what you want is here: How to set a default value with Html.TextBoxFor?