我想通过SharePoint对象模型更新Lookupvalue字段“Items”。Sharepoint更新查询列
“产品”是一个列表中的一列,用作“项目”字段中另一个列表的查找列。
在我的WebPart我现在已经
string strItems = ddlItems.SelectedValue.ToString();
item["Items"] = new SPFieldLookupValue("strItems");
item.Update();
然而项目的下拉列表中,这是造成错误