Torna al Thread

Public Function updateNodo(ByVal padre As String, ByVal nodo As String, ByVal attr As String, ByVal newval As String) As String ... Dim root As XmlElement = doc.DocumentElement node = root.SelectSingleNode(nodo) Dim str As String For Each a In root.ChildNodes If a.Name.Equals(padre) Then node = a For Each b In node.ChildNodes If b.Name.Equals(nodo) Then b.Attributes(attr).Value = newval modified = True End If Next End If Next ...
Copyright © dotNetHell.it 2002-2025
Running on Windows Server 2008 R2 Standard, SQL Server 2012 & ASP.NET 3.5