Quantcast
Channel: Comments on: SharePoint: How to Delete a List Field/Column programmatically
Browsing all 4 articles
Browse latest View live

By: swarnim

//Try out this snippet. It will help u SPList lst = web.Lists["swarnim_list"]; lst.Fields.Delete(“Date of birth”); lst.Update();

View Article



By: Administrator

@swarnim Hello! You seemed not to read the post thoroughly. SPFieldCollection.Delete couldn’t help anybody if the target field is read-only, hidden or sealed. Also, there is no difference between...

View Article

By: Jess Gordon

Hi: I found your solution above – thanks much for taking the time to share. I have a problem. I have run across code snippets of this sort for many purposes and I can even follow the logic flow. What I...

View Article

By: Admin

@Jess Gordon Hello! You can create a simple console application in VS, add reference to (at least) Microsoft.SharePoint.dll and then put something like this:...

View Article
Browsing all 4 articles
Browse latest View live




Latest Images