Reputation: 2113
I want to rename a column (field) of some list with C#. How do I do this? Resetting 'Title' property or something else doesn't work.
Upvotes: 1
Views: 3631
Reputation: 2172
Do you want to change the actual column name or change the display title?
The first is not possible.. (unless you delete and re-create the column). The display title yes, like the others said.
Upvotes: 2
Reputation: 754
Make sure you update the field by calling its Update() method after setting the value. Can you post your code?
Upvotes: 0
Reputation: 180787
There's some sample code for changing the title of a column here:
Upvotes: 1