how to display categories by tree view in vb.net
-
hi every body, how to display categories by tree view i am read my data from database (acesss) my table is : filds: CategoryId - Root - CategoryName 1 0 country 2 1 city 3 2 school 4 3 class 102 5 4 Chair 6 5 leg thank you very match before your ansewer . please hury up ... help
-
hi every body, how to display categories by tree view i am read my data from database (acesss) my table is : filds: CategoryId - Root - CategoryName 1 0 country 2 1 city 3 2 school 4 3 class 102 5 4 Chair 6 5 leg thank you very match before your ansewer . please hury up ... help
miladbiranvand wrote:
please hury up
NO !!!!!
Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.
-
miladbiranvand wrote:
please hury up
NO !!!!!
Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.
why no????????
-
miladbiranvand wrote:
please hury up
NO !!!!!
Steve Jowett ------------------------- Real programmers don't comment their code. If it was hard to write, it should be hard to read.
I have a table in the following format and I want to create a form with a tree view control to display the data to the end user. All the rows with LeafCategory is 0 have children. Leaf category 1 means its last category. i.e not expandable. In the following example category id 20081 is the Main category. A category is considered main category when the CategoryID and CategoryParentId are same. CategoryId 's 37903 and 4707 are children of 20081. 37909, 63516, 37911 are childen of 4707... etc. I don't want to write a sql statmet for each node to find out the childen. I'm looking for a solution with arrays, hash table .. etc. VB.NET CategoryId CategoryLevel CategoryName CategoryParentId LeafCategory ----------- ------------- -------------------------------------------------- ---------------- ------------ 20081 1 Antiques 20081 0 37903 2 Antiquities (Classical, Amer.) 20081 0 4707 2 Architectural & Garden 20081 0 37909 3 Ceiling Tins 4707 1 63516 3 Chandeliers, Fixtures, Sconces 4707 1 37911 3 Hardware 4707 0 37912 4 Door Bells, Knockers 37911 1 37913 4 Hooks & Brackets 37911 1 37914 4 Knobs & Handles 37911 1
-
hi every body, how to display categories by tree view i am read my data from database (acesss) my table is : filds: CategoryId - Root - CategoryName 1 0 country 2 1 city 3 2 school 4 3 class 102 5 4 Chair 6 5 leg thank you very match before your ansewer . please hury up ... help
pleass this see but in vb.net
-
hi every body, how to display categories by tree view i am read my data from database (acesss) my table is : filds: CategoryId - Root - CategoryName 1 0 country 2 1 city 3 2 school 4 3 class 102 5 4 Chair 6 5 leg thank you very match before your ansewer . please hury up ... help
-
no
-
please help!!!!!!!!!!!!!!!!!!!!!!!!!
-
please help!!!!!!!!!!!!!!!!!!!!!!!!!
-
ok ,now help
-
ok ,now help
-
no problem...
-
ok ,now help
miladbiranvand wrote:
ok ,now help
Ha, I almost gave a 5 to this for the amount of LOL.
Check out the CodeProject forum Guidelines[^] The original soapbox 1.0 is back![^]