【发布时间】:2009-10-20 17:12:54
【问题描述】:
我有一个SPListItem,我有一个列名数组。
当我尝试使用以下代码访问 SPListItem 值时:
for(int i=0;i<arrColName.length;i++)
{
string tempValue = item[arrColName[i]].ToString();
// Works fine in case the the specific column in the list item is not null
// Argument exception - Values does not fall witing expected range
// exception in case the value //is null
}
【问题讨论】:
标签: sharepoint splistitem argumentexception