Search TreeView
Hi
I've seen a number of people having this problem but no really good solution. I hope that anyone here got on.
I have a TreeView that's populated with data from a DataView. Each row in the DataView contains an ID that's the primary key in the table. I have created a extended version of the TreeNode that contains a Key property where I store my ID. How can I search and find a specific node in my TreeView based on the ID? Do I really have to do a recurcive search of the whole structure?
Thx
Ante
2 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Mahesh ChandRank #1 · 393.3K reputationPosted Sep 22, 2003, 8:46 AM EDT
andrewRank #6,347 · 269 reputationPosted Sep 25, 2003, 5:42 AM EDT