Custom Search

Sunday, September 30, 2007

Reading XML Files in VB.Net

' After calling read method, you can go though the document node by node and get the data.

' Source Code:
Imports System
Imports System.Xml
Module Module1

Sub Main()
' Open an XML file
Dim reader As XmlTextReader = New XmlTextReader("C:\\out.xml")

While reader.Read()
End While

End Sub

End Module

No comments: