Sunday, July 12, 2009

Is treee structure available in C# library, if available then how can i use it or any website where learn 2 uz

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 %26lt; 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"][... + "'s " +


myage.ToString() + " years old. "


+ "He's from " + n["mydata"]["Country"][0].v + ".");

Is treee structure available in C# library, if available then how can i use it or any website where learn 2 uz
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
Reply:use Java, easy to use in websites ( Applets ) and posses a huge libraries avaliable ( including a extensive data structures ones )

song words

No comments:

Post a Comment