I Have to read Xml file in my VB.net forms i have tried this Code. but did't work well on the Xml file but it can read another xml file i have made to test this. 1. It cant show extracted data in ComboBox I'm using This code .
Dim xml as new XmlDocument()
'xml.Load("http://ift.tt/1KvSpj8")
'Dim nodes As XmlNodeList = xml.DocumentElement.SelectNodes("/dict")
'Dim dict As String = "", name As String = ""
'For Each node As XmlNode In nodes
' dict = node.SelectSingleNode("String").InnerText
' name = node.SelectSingleNode("Key").InnerText
' CB1.Items.Add(dict)
' CB2.Items.Add(name)
'Next
No comments:
Post a Comment