Archive for September, 2009

The Correct Way Of Updating List Items in SharePoint

This item was filled under [ C#, SharePoint ]
VN:F [1.9.3_1094]
Rating: 1.0/5 (2 votes cast)

Many times you will need to manipulate data within a list in your custom SharePoint page or web part. Out of these times, you might also need to edit the data in that list like in, for example, a user profile edit page or a contact edit page. Some might say that this is a piece of cake, just assign the required value to the SPListItem and be on your way. Alas, this is not the case, since if you only do this you might realize that the data you need hasn’t been updated in the database. Though it cannot be called a major inconvenience with the SharePoint object model, it is a bit disorienting and might be a bit of a hassle until you get the actual hang of it. Continue reading…

Tagged with: [ , , , , ]