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

New Message on BDOTNET

-----------------------------------------------------------
From: sujithvarrier
Message 5 in Discussion

I think something like this would work, this is something that can be used 
for searching a word in
Tree nodes.

private void Search(TreeNode tvwNode,String SearchText)
                {
                        IEnumerator enNodes  = tvwNode.Nodes.GetEnumerator();
                        while(enNodes.MoveNext())       {
                                TreeNode curNode = (TreeNode)(enNodes.Current);
                                if(curNode.Text == SearchText)
                                        curNode.BackColor = Color.Gray;
                                Search(curNode, SearchText);
                        }
                }

regards
Sujith

>From: "Mamatha_md" <[EMAIL PROTECTED]>
>Reply-To: "BDOTNET" <[EMAIL PROTECTED]>
>To: "BDOTNET" <[EMAIL PROTECTED]>
>Subject: help on Treeview
>Date: Thu, 17 Jun 2004 22:19:53 -0700
>

_________________________________________________________________
Lifestyle, fashion, beauty. News, events �n relationships. 
http://server1.msn.co.in/sp04/women/ Exclusively for the fairer sex.


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

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