Reputation: 21
How to remove a field from a List in Sharepoint 2010?
Any help please?
Upvotes: 1
Views: 3304
Reputation: 6859
I assume you mean using code. This code should do the trick.
SPWeb web = SPContext.Current.Web;
SPList list = web.Lists["List Name"];
SPField field = list.Fields["Field Name"];
field.Delete();
Upvotes: 2
Reputation: 235
just go to your list, go to List Settings (in the ribbon), scroll down to your fields (columns) and delete it.
Is not a big deal.
Best regards!
Upvotes: 0