sharepoint对象模型 client.executeQuery 报“版本冲突”异常
sharepoint对象模型 client.executeQuery 报“版本冲突”错误代码如下:List TaskList web.Lists.GetByTitl
sharepoint对象模型 client.executeQuery 报“版本冲突”错误
代码如下:
List TaskList = web.Lists.GetByTitle("任务表");
ListItem TaskListItem = TaskList.GetItemById(23);
TaskListItem["TaskStatus"] = "进行中";
TaskListItem.Update();
ClientContext.ExecuteQuery();//该句,有时会报错,提示“版本冲突”;有时正常。不知原因是什么??
[解决办法]
[解决办法][解决办法]recompile it with the share point all