Skip to main content
2 of 5
added 2 characters in body
MikhailSP
  • 1.4k
  • 2
  • 13
  • 26

Please, take a look at this question. So you could do something like this:

SPListItem lookedUpItem =  GetItemSomeHow();
newItem[lookupField] = new SPFieldLookupValue( lookedUpItem.ID, lookedUpItem.Title);
newItem.Update();

Hope it helps. If so, please, don't forget to press upvote and mark as answer. :)

Regards, Michael (http://sp2013-blog.com)

MikhailSP
  • 1.4k
  • 2
  • 13
  • 26