Wheel man
With the treeFile library You can:
* Easily create tree structures and manage them.
* Create DataSets and write them to tree structures and inversely.
* Write everything to a file
Question: What is a tree structure?
Answer: It is a structure to store data, where each item of the base collection can have subitems, these subitems may have their own childs, and so on.
Question: Why it can be useful?
Answer: You will not have to create any procedures to write to config files, simple databases etc.. With tfData class You can also write data and definitions from DataSet to a tfNode and then, throught tfFile, to a file.
Many methods and properties
* tfNode
o v - value
o p - parent
o indexors (11 overloads)
o Compare (5 overloads)
o CompareEx
o ToString
o add (3 overloads)
o addkeys
o copy
o count
o exists (4 overloads)
o exist
o filter (5 overloads)
o find (4 overloads)
o first
o last
o next
o prev
o index
o indexOf
o range
o root
o remove (6 overloads)
o removeAll
* tfFile
o write (8 overloads)
o read (13 overloads)
* tfData
o saveData
o loadData
tfNode n;
n = new tfNode("Name of root", "Some items", 666,
DateTime.Now, true, new tfNode
("Letters", "A", "B", "C"));
n += "lol";
n -= 1; // let's remove 666.
string[] s = n["Letters"].range;
// get an array with childs of n[Letters].
for (int j = 0; j < s.Length; j++)
Console.WriteLine(s[j]);
// Add some keys (like in registry)
n.add("mydata").addkeys(
"Name", "Joe",
"Date", "1979",
"Country", "UK");
int myage = DateTime.Now.Year -
Convert.ToInt32(n["mydata"]["Date"][0].v);
Console.WriteLine(n["mydata"]["Name"][0].v + "'s " +
myage.ToString() + " years old. "
+ "He's from " + n["mydata"]["Country"][0].v + ".");
2006-08-10 23:15:47
·
answer #1
·
answered by Joe_Young 6
·
0⤊
0⤋
use Java, easy to use in websites ( Applets ) and posses a huge libraries avaliable ( including a extensive data structures ones )
2006-08-11 06:09:45
·
answer #2
·
answered by Nestor 4
·
0⤊
1⤋
dear if your are using asp.net 1.1 or 1.0 then you will need to download the controle but in Asp.net 2.0 that featured is available
2006-08-11 07:50:26
·
answer #3
·
answered by kartoos5050 2
·
0⤊
0⤋