Natasha Thapa Natasha Thapa - 7 months ago 73
C# Question

MVC LabelFor to replace underscores with CamelCase

my DB model has the column name with "_" in the field name.
is there a way to dislay these values in Camel Case when displaying in the form? like

i am using MVC3 with Razor

@Html.LabelFor(model => model.business_name)


Could you not just use the DisplayAttribute?