我在VB中獲得了此代碼。並沒有做任何事情。任何人都可以幫我解釋爲什麼,並給我一個解決方案?使用web服務更新Sharepoint中的項目屬性
Dim updatestr As String = "<Method ID='1' Cmd='Update'>" + _
"<Field Name='Title'>Ficha_router</Field>" + _
"<Field Name='ID_Cliente'>0000</Field>" + _
"</Method>"
Dim xmlDoc = New System.Xml.XmlDocument()
Dim elBatch As System.Xml.XmlElement = xmlDoc.CreateElement("Batch")
elBatch.SetAttribute("OnError", "Continue")
elBatch.SetAttribute("ListVersion", "1")
elBatch.SetAttribute("ViewName", "")
elBatch.InnerXml = updatestr
listService.UpdateListItems("Flecha", elBatch)
是的,這個要求不是最好的。 – Nat 2009-06-15 21:16:02