Search TreeView

Sep 22 2003 5:05 AM
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

Answers (2)