VCSharp TreeView and DataBinding - Newbie...

  • Thread starter Thread starter Delme Greening
  • Start date Start date
D

Delme Greening

Thanks in advance, not been programming for a very long time and am
currently picking it back up by learning VC# in VS 2005.

I have a DataSet retrieving data as follows:

Ward District Walk
______________________________
Ward1 District1 Walk1
Ward1 District1 Walk2
Ward1 District2 Walk1
Ward1 District3 Walk1
Ward2 District1 Walk1
Ward2 District2 Walk1
Ward2 District2 Walk2
Ward2 District2 Walk3

And I want to represent this on a form using a TreeView object so it should
look something like this:

Ward1
- District1
- Walk1
- Walk2
- Disctric2
- Walk1
- District3
- Walk1
Ward2
- District 1
- Walk 1
- Districs2
- Walk1
- Walk2
- Walk3

If anyone can tell me how to go about doing this I would greatly appreciate
your help.
 
Or more importantly, can I save the DataSet into an XML style file and open
it with a web control? That would probably be much more interesting!

PS - Thanks again!

Delme Greening
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top