-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: Thej
Message 2 in Discussion


Hi 
Vijay,
 
Build 
an XML file with Parent and Child relationship that you need. 
 Load this XML file to the tree view control it will 
work.
like 

<TREENODES>
<TREENODE text = 
"101">
    <TREENODE text = "102" />
    <TREENODE text = "103" />
    <TREENODE text = "106" />
</TREENODE>

<TREENODE text = 
"102">
    <TREENODE text = "104" />
    <TREENODE text = "107" />
</TREENODE>
</TREENODES>
 
Hope 
this works..
 
ALL 
THE BEST.
 
Regards
Thejus
 
 

  
  -----Original Message-----
From: daz_vij 
  [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, September 02, 2003 2:35 
  PM
To: BDOTNET
Subject: problem with the treeview control 
  in asp.net plz help soon


  
    
      
      New Message on BDOTNET
    
      

  problem 
    with the treeview control in asp.net plz help soon


    
      
      
        Reply

        
          
            
            
               
              Reply to Sender   Recommend 
              Message 1 in 
                Discussion 
      
        
          
            
            
              From: daz_vij 
            
              

                
hi all,
                
This is vijay kumar.p. I am working on ASP.NET(Treeview web 
                control).
i have to build a tree structure according to the 
                data populated in 
                
database. The database iam using is MSAccess. i have 3 tables 
                in the 
                
database named Node,Nodes_type, Relationship. In the 
                relationship table 
                
i have the data as which nodeid is dependant on which 
                node.for example
                
   
                nodeID           
                DependsOn
                
     
                101                
                102
     
                101                
                103  
     
                101                
                106 
     
                102                
                104
     
                102                
                107
     
                106                
                108
     
                106                
                109
                
   ...like that.Since we have many rows we cant say 
                which one is dependant on 
                
which. just by seeing the relationship table we can judge 
                which is 
                
dependant on which node. In this way we have to build a tree 
                structure.
                
             
                My problem is iam not able to retrieve the subchild nodes under 
                
                
the parent and under that subchild another subchild. iam even 
                sending 
                
the things i hve done as a zip file plz unzip the file into 
                ur 
                
.net\intpub\wwwroot\(thisfile). and just go thr' the design i 
                had made.
if u have problem in executing the code(build 
                errors) thn plz create 
                
the controls as i have done and paste the code. i have placed 
                the code which i had  
                
done in a ".txt" files . created as "button1.txt" for 
                button1 like tht so.
                
 plz go through the code and send me the result, i mean 
                the code 
                
to get the multilevel treeview structure for the database we 
                have as 
                
soon as possible, i will be very great full 
                if anyone of u can send me the code 
                
soon.plz b quick.    WAITING WITH 
                ANTICIPATION
                
regards,
                
vijay.p
View other groups in this 
    category. 



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to