|
-
Oct 30th, 2018, 05:36 PM
#1
Thread Starter
Junior Member
Adding Values to a Dictionary
I have a dictionary - myDict(Of Button, string)
I have an xml file with elements of "Page", "ID" and "Info" - for each page there are are a number of IDs relating to the key/button; also a number of Infos as strings.
The difficulty I'm having is figuring out how to either:
* Load the ID.innertext into the key (and then the Info into the value), OR
* (having preloaded the keys with button objects) relate the ID nodes to the relevant keys so that I can change the values.
Perhaps this can be summarised as converting a string to a button; or being able to save a button to xml.
All suggestions very gratefully received.
Thanks.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|