Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. how can i search a node in tree view?

how can i search a node in tree view?

Scheduled Pinned Locked Moved C#
questiondata-structuresxml
4 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    samidhas
    wrote on last edited by
    #1

    how can i programatically search node in the treeview? and if i am accessing xml file in treeview, then how can i search the node in xml file too?

    S P 2 Replies Last reply
    0
    • S samidhas

      how can i programatically search node in the treeview? and if i am accessing xml file in treeview, then how can i search the node in xml file too?

      S Offline
      S Offline
      samidhas
      wrote on last edited by
      #2

      its urgent plz help meeeeeeeee

      P 1 Reply Last reply
      0
      • S samidhas

        how can i programatically search node in the treeview? and if i am accessing xml file in treeview, then how can i search the node in xml file too?

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #3

        Create a method that recursively searches through the ChildNodes in your treeview. To do this, pass the top most node in and then do a foreach on the ChildNodes, and if you haven't met your criteria recursively call the same method passing in the ChildNode that you are iterating over.

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        1 Reply Last reply
        0
        • S samidhas

          its urgent plz help meeeeeeeee

          P Offline
          P Offline
          Pete OHanlon
          wrote on last edited by
          #4

          samidhas wrote:

          its urgent plz help meeeeeeeee

          Tut tut. It's always urgent. Saying this is just plain rude and inconsiderate. Why do you think your requirements are any more urgent than all of the other posters? This is a volunteer only forum, so you have to be patient and wait for the relevant volunteers to get round to answering your questions. Pestering people and posting crap like this makes it less likely that you will get help. We get very annoyed at people with attitudes like this.

          Deja View - the feeling that you've seen this post before.

          My blog | My articles

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups