greetings
how can i check if a treeview contains a treenode with a specified text? i'm trying with the Nodes.Contains() method but doesn't work.
I'm reading data from a database, and the data is categorized (ex cars, bikes, trucks, etc). what I want to do is to group on tree nodes the category of data and then display on child tree nodes the description of the items within the category. any ideas? If I use the treeview.Nodes.Contains(new TreeNode("cars")), it does not work.
TIA
Almeida
how can i check if a treeview contains a treenode with a specified text? i'm trying with the Nodes.Contains() method but doesn't work.
I'm reading data from a database, and the data is categorized (ex cars, bikes, trucks, etc). what I want to do is to group on tree nodes the category of data and then display on child tree nodes the description of the items within the category. any ideas? If I use the treeview.Nodes.Contains(new TreeNode("cars")), it does not work.
TIA
Almeida