on 10-20-2015 9:21 PM
Hi,
I am not knowing how to get the data from xml using vb.net.
Please guide me its urgent to me.
Regards,
P.Pallavi
This is how I read XML in .NET. I'm using this for DI Server.
For Each oFile As String In Directory.GetFiles(YOURPATH, "FILENAME.XML", SearchOption.TopDirectoryOnly)
oFileName = Path.GetFileName(oFile)
ds = New DataSet
ds.ReadXml(oFile)
oHeader = ds.Tables("TABLE IN XML").Copy
For Each oDr As DataRow In oHeader.Rows
MsgBox(oDr("FieldName IN XML"))
Next
Next
Regards,
Bry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
103 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.