I am using MVC3, ASP.NET 4.5, Razor.
Normally I would use, to get a standard title for my DB columns:
@Html.LabelFor(m=>m.myField)
Which would produce:
<label for="myField">MyField Title</label>
However I need to produce just "MyField Title" which will exist in some "th" elements such as:
<th>MyField Title</th>
So I need some code like:
<th>@{get Field Title}</th>
I am probably missing an obviously trick here.....
Thanks in advance.