ArrayList -> SortedList -> SortedList. Right ?
-
Hello everyone! I need to store such data:
Partitions(ex: english), Authors(ex: Shakespeare), Books(ex:Otello).
Ierarchy is Partitions->Authors->Books. What is the best way to store data ?I used a ArrayList -> SortedList -> SortedList and serialization.
I don't want to use SQL, because it cannot be installed on each computer, where this program will be used.One nation - underground
-
Hello everyone! I need to store such data:
Partitions(ex: english), Authors(ex: Shakespeare), Books(ex:Otello).
Ierarchy is Partitions->Authors->Books. What is the best way to store data ?I used a ArrayList -> SortedList -> SortedList and serialization.
I don't want to use SQL, because it cannot be installed on each computer, where this program will be used.One nation - underground
For storing it, I would recommend XML. For displaying it, you can go for a TreeView.
Cheers, Vıkram.
After all is said and done, much is said and little is done.
-
For storing it, I would recommend XML. For displaying it, you can go for a TreeView.
Cheers, Vıkram.
After all is said and done, much is said and little is done.
-
Do you mean XML, you mean serialization ? What kind of structure should i use? Is isn't it wery expensive to use a->s->s->? The number of elements won't exceed 1000.
One nation - underground
Dude, I thought your data looked something like this
English
Twain
Tom Sawyer
Huck Finn
Orczy
The Scarlet Pimpernel
Dawkins
The God Delusion
The Selfish Gene
Hindi
Premchand
Panch ParmeshwarXML is the best way to store this.
<yourRootTag>
<language name="English">
<author name="Twain">
<title>Tom Sawyer</title>
<title>Huck Finn</title>
</author>
Other authors go here...
</language>
Other languages go here...
</yourRootTag>Cheers, Vıkram.
After all is said and done, much is said and little is done.
-
Dude, I thought your data looked something like this
English
Twain
Tom Sawyer
Huck Finn
Orczy
The Scarlet Pimpernel
Dawkins
The God Delusion
The Selfish Gene
Hindi
Premchand
Panch ParmeshwarXML is the best way to store this.
<yourRootTag>
<language name="English">
<author name="Twain">
<title>Tom Sawyer</title>
<title>Huck Finn</title>
</author>
Other authors go here...
</language>
Other languages go here...
</yourRootTag>Cheers, Vıkram.
After all is said and done, much is said and little is done.
-
Thanks for help. Can You tell me where can i read about this way of xml ? Read all Xml related articles ?
One nation - underground
-
-
:laugh::laugh:
Regards, Satips.:rose: Don't walk in front of me, I may not follow; Don't walk behind me, I may not lead; Walk beside me, and just be my friend. - Albert Camus