【发布时间】:2012-09-24 07:53:25
【问题描述】:
您好,我在 sharepoint 2007 中有两个列表。 我在列表中有一个查找列,它看起来另一个字段。 我想使用 sharepoint 对象模型将项目添加到第二个列表。 如何设置查找字段值。 (该值已经在另一个列表中)。?
SPListItem Employee = web.Lists["Employee"].Items.Add();
Employee["Name"] = account.Name;
Employee["Department"] = <lookup value must come here>
Employee.Update();
【问题讨论】:
标签: c# sharepoint sharepoint-2007 moss