1,Error :Invalid data has been used to update the list item. The field you are trying to update may be read only.
原因: list 的ID属性是不能赋值的 ,newItem["ID"] =“” 这样是不允许的。
2.This field cannot be updated.
原因: 类似上个问题但是错误不一样, 最后删掉FileRef 和 FileDirRef 的赋值就OK了。