Updating EndDate causes “Invalid data has been used to update the list item”
问题 Here is the full error: Invalid data has been used to update the list item. The field you are trying to update may be read only. I am basically try to update a Calendar Event in Sharepoint. First I get the following. ClientContext clientContext = new ClientContext(deptUrl); Web web = clientContext.Web; List list = web.Lists.GetByTitle(deptCal); clientContext.Load(list); CamlQuery query = new CamlQuery(); query.ViewXml = "<View><Query><Where><IsNull><FieldRef Name='EndDate' /></IsNull></Where>