Kodu parçasını aşağıdakı xətləri InfoPath xml rekord güncellemek üçün(file)
SPWeb _web = SPContext.Current.Web; SPList _list = _web.Lists[“SampleFormLib”];
MemoryStream myInStream = new MemoryStream(item.File.OpenBinary()); XmlTextReader oxucu = new XmlTextReader(myInStream);
XmlDocument doc = new XmlDocument(); doc.Load(oxucu);
reader.Close(); myInStream.Close();
XmlNamespaceManager nameSpaceManager = new XmlNamespaceManager(doc.NameTable); nameSpaceManager.AddNamespace(“my”, “http://schemas.microsoft.com/office/infopath/2003/myXSD/2009-06-11T12:44:57“);
doc.DocumentElement.SelectSingleNode(“my:Status”, nameSpaceManager).Inner Text = “Saxlanılan”; […]