该文被密码保护。 阅读全文
posted @ 2014-03-15 18:32
914556495
阅读(10)
评论(0)
推荐(0)
摘要:
string b = li["审批人"].ToString(); SPFieldUserValueCollection userValues = li["审批人"] as SPFieldUserValueCollection; //循环userValues获取里面的值 for (int i = 0; i 0 ? userValues[i].LookupValue : userValues[i].LookupValue; } 阅读全文
posted @ 2014-03-15 16:28
914556495
阅读(148)
评论(0)
推荐(0)
摘要:
要在MOSS中开发一个有用户选择功能的页面或webpart,就要用到PeopleEditor 控件了页面声明如下:这样,就能显示出标准的用户选择界面了.接下来,我们如何获取选择的用户数据呢?ArrayListlist=PeopleEditor1.ResolvedEntities; //获取id和显示名称foreach(Microsoft.SharePoint.WebControls.PickerEntitypinlist){ stringuserId=p.EntityData["SPUserID"].ToString(); stringDisplayName=p.Entit 阅读全文
posted @ 2014-03-15 08:41
914556495
阅读(487)
评论(0)
推荐(0)

浙公网安备 33010602011771号