Saving Treeview Data to XML File

  • Thread starter Thread starter Bernd Dohr
  • Start date Start date
B

Bernd Dohr

Hi,

i'd like to save my treeview data in a xml file and vice versa.

Is there a comfortable way to do that ?

I have an application which stores only a little amount of data, but
they are hierarchical and there's no sql server available.

Thanks in advance !

Bernd
 
Bernd said:
i'd like to save my treeview data in a xml file and vice versa.

Is there a comfortable way to do that ?

I have an application which stores only a little amount of data, but
they are hierarchical and there's no sql server available.

Hi Bernd,

as an alternative you may want to look into our
object database db4o.

It stores objects directly, without the detour
through an XML graph.

Best,
Carl
 
Carl said:
as an alternative you may want to look into our
object database db4o.

It stores objects directly, without the detour
through an XML graph.

Carl,

Looks interesting ... my special problem is as following:

1. a treeview control with some categories , hierarchical
2. at each subcategorie at lowest level there are some fields

- company
- department
- sub department

These are the categories, and for "subdepartment" the values
Name,City,Street belongs to the subdepartment.

Is there a way to store this kind of information to your database ?

Bernd
 
Bernd said:
Looks interesting ... my special problem is as following:

1. a treeview control with some categories , hierarchical
2. at each subcategorie at lowest level there are some fields

- company
- department
- sub department

These are the categories, and for "subdepartment" the values
Name,City,Street belongs to the subdepartment.

Is there a way to store this kind of information to your database ?

Sure.

Just store the top level object and all attached objects
will be stored.

It's a one-liner.
 
Back
Top