Hi Guys,
I can successfully save my application data to an .xml structured file like:
I was trying to do the reverse and load the data back into the textbox fields so far i have:Code:<?xml version="1.0"?> <appSaved> <saved Firstname="Graham" Lastname="McCann" Email="[email protected]" Username="graham23s" /> </appSaved>
I can't seem to find any good tutorials on this, any help would be appreciated.Code:'Load the saved information back into the textboxes ' Create a new instance of XmlDocument Dim myXmlDocument As Xml.XmlDocument = New Xml.XmlDocument() ' This will handle XML nodes in the XML file Dim myNode As Xml.XmlNode ' This will contain the URL from the XML attribute Dim URL As String ' Load the URL into the textbox URL = myNode.Attributes("Firstname").InnerText firstNameTextBox.Text = URL
thanks guys
Graham


Reply With Quote


