[Last Call] Learn about multicloud storage options and how to improve your company's cloud strategy. Register Now

x
?
Solved

Storing Data from a Tree View Control

Posted on 2007-03-23
3
Medium Priority
?
195 Views
Last Modified: 2010-04-16
Hi All,
I have a treeview control.  I want to find out which (if any) nodes are checked.  I then want to store this information.  In this control, if the root node is checked, then I don't need to traverse the tree.  If however the root node is not selected, I do have a recursive function to check each of the child nodes already.

I need to know how to store the information in some kind of array or collection, be able to add to it, and eventually list its contents.

Thanks in advance!
0
Comment
Question by:ericlockshine
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 5

Accepted Solution

by:
kosturdur earned 500 total points
ID: 18781446
If I were you I could store them in an xml(file) but you could also store them in an object oriented table.
0
 
LVL 5

Expert Comment

by:kosturdur
ID: 18781581
ericlockshine,
you can download c# samples from;
download.microsoft.com/download/6/4/7/6474467e-b2b7-40ea-a478-1d3296e78adf/CSharp.msi
there is 101 cs and 101 vb samples in it and find;
Framework - How-To Work with XML
sample for your XML.
Koturdur
0
 

Author Comment

by:ericlockshine
ID: 18781953
Thanks for the Idea.  I think I will store them in a local table since I already have a datasource open.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Visualize your data even better in Access queries. Given a date and a value, this lesson shows how to compare that value with the previous value, calculate the difference, and display a circle if the value is the same, an up triangle if it increased…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

650 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question