TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
rulec444
NA
81
0
Save ArrayList to Tree Nodes
May 6 2004 11:15 AM
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.
Reply
Answers (
21
)
implementing a window application likes Properties window in VS C#
[C#] Need help for Using WMI to set Proxy Settings