小编mer*_*nhs的帖子

获取Sharepoint列表中的第一个和最后一个ListItem

在一个pageLoad事件上,我想转到两个不同的SharePoint列表,从一个列表中获取第一个ListItem,在另一个列表中获取最后一个ListItem.我不知道任何ListItem ID,所以我想这需要通过列表索引来完成 - 只是不知道如何实现它.掌握了List,有人可以建议(使用c#)获得上述场景的第一个和最后一个项目的最佳方法吗?

c# sharepoint sharepoint-2010

9
推荐指数
1
解决办法
3万
查看次数

标签 统计

c# ×1

sharepoint ×1

sharepoint-2010 ×1