开发者

c# Insert/Update multiple lookup values to an SPListItem

sharepoint allows multiple开发者_高级运维 items to be added for a lookup column type. Is there a good article that has the code snippet to update or add lookup values?


Take a look at this object SPFieldLookupValueCollection. What you need to do is to create an instance of this class, fill the collection with SPFieldLookupValue objects and assign the collection to the field, that's it.

http://social.msdn.microsoft.com/Forums/en/sharepointdevelopment/thread/02c889fc-6b15-4a60-b0f6-ed5d020ec6c2

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜