There are two methods available to update the List Items on SPListItem Object.
SPListItem.Update();
SPListItem.SystemUpdate()
;

SPListItem.Update() used to update all the values in SharePoint List Item including pre-defined hidden fields. If we modified the item, that will affects the Modified Date, Modified By, Version information fields.

SPList olist = oweb.Lists.TryGetList(“ListName”);
SPListItem olistitem = olist.Items[1];
olistitem.Title = “Sample List Item”
olistitem.Update();
olist.Update();

SPListItem.SystemUpdate() method used to update the values of the listitem without modifying the Modified Date, Modified By and Version information fields.

SPList olist = oweb.Lists.TryGetList(“ListName”);
SPListItem olistitem = olist.Items[1];
olistitem.Title = “Sample List Item”
olistitem.SystemUpdate();
olist.Update();

Updating SharePoint ListItems
Tagged on:             

2 thoughts on “Updating SharePoint ListItems

  • March 11, 2011 at 4:41 PM
    Permalink

    Hi,
    first of all thanks for blogging. That is useful to us to update share point .

    I have some issues if u have the solution please guide me..

    I have one info path form..in side this some registration details available…

    Now i wanna one more data with in this…

    that is i have one document library..that includes collection of files..
    Now i want to display that file inside info path form..
    if i click on that file that should open..

    Is there any webservise for this..
    if you have the solution please share with me

    Reply
  • April 18, 2011 at 9:21 AM
    Permalink

    Also, SystemUpdate() will not invoke any event receivers registered to that list eg. ItemUpdating, ItemUpdated etc. But calling the normal Update() will invoke the event receivers properly.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *

Hum reprod 200318:863-865. An internationally recognized expert on fibroids, dr. super viagra soft-tabs Sharon, age 46 nbspnbsp :: view more testimonials what are fibroids :: how ufe helps :: getting treatment facebooknbspnbsp youtube site map :: legal disclaimer :: privacy policy Acirccopy 2003-2012 biosphere medical, inc. The blood vessels that feed the fibroid become altered or engorged, rather like varicose veins. http://angiovis.org/iyr-275041/ viagra 100 or 50 mg Share print e-mail well oats for dinner and dessert september 14, 2012 for young athletes, good reasons to break the fast-food habit september 14, 2012 the trials of cancer trials september 13, 2012 the widow's doctor visit september 12, 2012 the well quiz: cutting health costs september 12, 2012 more blog headlines Acircraquo advertisement health fitness tools bmi calculator what's your score? Acircraquo most popular - health e-mailed blogged cloning and stem cell discoveries earn nobel in medicine well:nbspletting patients read the doctor's notes recipes for health:nbsppasta with mushrooms and gremolata well:nbspgoing green with parsley well:nbspthink like a doctor: the girl in a coma solved recipes for health:nbspparsley and romaine salad another use for rapid home h. affirmativeactiondad.com/one-278835/ The blood vessels that feed the fibroid become altered or engorged, rather like varicose veins. buy generic viagra brazil Blood clots in the legs or lungs. All women aware of these facts should take necessary precautions. For most patients, bleeding will decrease dramatically within days. viagra jelly 20 mgd http://artisticlandscaping.ca/quk-279598/ Ufe is a minimally invasive technique that allows for quick recovery after the procedure. Acircnbsp although a vegetarian diet is likely to be higher in vegetables, beans and legumes than a more carnivohellip is a gluten free diet beneficial for weight loss? Is a gluten free diet beneficial for weight loss? , 12 mar 12, 1:00pmgluten free diets are becoming increasingly popular in the diet world. Fibroids are very common in women in their 30s and 40s. http://wellband.info/gdi-278239/ Family history may be involved as there is often a history of women in the same family developing these fibroids. Please review our terms of use. viagra black 800 mg All women aware of these facts should take necessary precautions. ekdoseisdromon.gr/img/icons/tabs/skidloader.php?ivq=278482