views:

41

answers:

1

I want to customize the headings of my tables outputted in a dynamic data website. Specifically, if a column has a name like "PhonebookManager", I want it to display, "Phonebook Manager" (note the space). Where should I be looking to get this done?

A: 

Use the DisplayName attribute to modify the text that is displayed for the column. If you are looking to have these attributes automatically created for you, take a look at this blog post. It doesn't do exactly that, but it gets you some of the way there. (start in the Global.asax.cs file - look at lines 81-86)

Aaron Hoffman