첫 번째 - 창/콘솔 응용 프로그램에서 셰어와 상호 작용하는 시각적 스튜디오 프로젝트에 웹 서비스를 추가 : Accessing SharePoint Web-Services with Visual Studio 2008
그런 WssLists를 호출합니다. UpdateListItems
string strBatch = "<Method ID='1' Cmd='Update'>" +
"<Field Name='ID'>141</Field>" +
"<Field Name='Description'>My new Description</Field></Method>" +
"</Method>";
XmlDocument xmlDoc = new System.Xml.XmlDocument();
System.Xml.XmlElement elBatch = xmlDoc.CreateElement("Batch");
elBatch.SetAttribute("OnError","Continue");
elBatch.SetAttribute("ListVersion","1");
elBatch.SetAttribute("ViewName",
"0d7fcacd-1d7c-45bc-bcfc-6d7f7d2eeb40");
elBatch.InnerXml = strBatch;
XmlNode ndReturn = WssLists.UpdateListItems("List_Name", elBatch);
MSDN에서 SharePoint와 상호 작용하는 데 사용할 수 많은 웹 서비스가에 당신은 볼 수 있습니다.
클라이언트에서? 사용자가 양식을 입력 한 후 어떤 시점에서 데이터가 변경된다는 의미입니까? AJAX 방식으로 목록 필드를 업데이트 하시겠습니까? –
브라우저 창에서 웹 양식을 열지 않고 Windows 응용 프로그램 또는 콘솔 응용 프로그램을 사용하는 클라이언트에서와 동일합니다. – Josh