How to change the display name for LabelFor in razor in mvc3?

Viewed 136313

In razor engine I have used LabelFor helper method to display the name

But the display name is seems to be not good to display. so i need to change my display name how to do it....

@Html.LabelFor(model => model.SomekingStatus, new { @class = "control-label"}) 
5 Answers

@Html.LabelFor(model => model.SomekingStatus, "foo bar")

Related