SP Gugu: How to Programmatically change a list item's ContentType by WSS WebService?
Please, help! I can't find any information on MSDN under WSS3 webservices List.UpdateListItems topics
how to programmatically change a list item ContentTypeId ?
Calling SharePoint list service like: (adding a list item)
XmlElement elBatch = doc.CreateElement("Batch");
elBatch.SetAttribute("OnError", "Continue");
elBatch.SetAttribute("ListVersion", "2");
XmlElement el1 = doc.CreateElement("Method");
el1.SetAttribute("ID", "1");
el1.SetAttribute("Cmd", "New");
XmlElement field1 = doc.CreateElement("Field");
field1.SetAttribute("Name", "ID");
field1.InnerText = "New";
XmlElement field2 = doc.CreateElement("Field");
field2.SetAttribute("Name", "emp_no");
XmlNode response = listService.UpdateListItems("Tasks", elBatch);

