Save ArrayList to Tree Nodes
I want to use a TreeView to show items the user selects in several different categories, however, I can only get it to work for adding root nodes (not child).
For example, I want something like:
STATE
- 1st State
- CITIES
- 1st City
- 2nd City
- 3rd City
- 2nd State
- CITIES
- 1st City
- 2nd city
- ZIPs
- 1st Zip
- 2nd Zip
COUNTRY
etc... where the capitalized entries are hard coded and the users choices dynamically fill the child nodes.
This is the code I have in my method:
TreeView tv = new TreeView;
tv.Nodes.Add((GeoArray).ToString());
This only shows "Systems.Collections.ArrayList" in new root nodes for the number of items I selected in the listbox.
I've looked in forums and books but there is not a lot of info on TreeViews.
Any help is appreciated.
rulec444Posted Jul 4, 2004, 11:02 PM
rulec444Posted Jun 24, 2004, 1:04 PM
sjonesPosted Jun 24, 2004, 12:15 PM
rulec444Posted Jun 23, 2004, 7:03 PM
rulec444Posted Jun 23, 2004, 4:52 PM
rulec444Posted May 18, 2004, 2:11 PM
sjonesPosted May 18, 2004, 1:41 AM
rulec444Posted May 17, 2004, 5:05 PM
sjonesPosted May 17, 2004, 4:08 PM
rulec444Posted May 17, 2004, 3:44 PM
sjonesPosted May 15, 2004, 10:31 AM
sjonesPosted May 15, 2004, 9:36 AM
rulec444Posted May 14, 2004, 5:38 PM
rulec444Posted May 11, 2004, 6:49 PM
sjonesPosted May 11, 2004, 2:25 PM
rulec444Posted May 11, 2004, 2:14 PM
sjonesPosted May 11, 2004, 11:44 AM
rulec444Posted May 11, 2004, 11:26 AM
sjonesPosted May 7, 2004, 8:53 AM
rulec444Posted May 6, 2004, 2:02 PM
sjonesPosted May 6, 2004, 1:06 PM