I have created a XML File With XmlTextWriter and the result is :
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<Configuration>
<Settings>
<DbName>DoxWork</DbName>
<PathDB>C:\Documents and Settings\v.savino\Desktop\</PathDB>
<DbServerName>Server</DbServerName>
</Settings>
</Configuration>
Use XmlTextReader for read XML File..
This is my code :
Do While XReader.Read
If XReader.NodeType = XmlNodeType.Element Then
msgbox XReader.LocalName & " " & XReader.ReadString
End If
Loop
I can approach directly the element? (ES. DbName) Without to make Loop
Thank You