M
Marcelo Muzilli
Howdy all,
I´d like to know how can I get in a ArrayList (for example) all the
selected nodes from my TreeView object.
I´m trying to use the following code and is not working. Why?
Do you have a good example?
My sample code:
..
..
..
ArrayList MyArrayListVar = new ArrayList();
foreach (TreeNode n in trvMain.SelectedNodes)
{
MyArrayListVar.Add(n.Text);
}
..
..
..
Thank you in advance,
Marcelo Muzilli
I´d like to know how can I get in a ArrayList (for example) all the
selected nodes from my TreeView object.
I´m trying to use the following code and is not working. Why?
Do you have a good example?
My sample code:
..
..
..
ArrayList MyArrayListVar = new ArrayList();
foreach (TreeNode n in trvMain.SelectedNodes)
{
MyArrayListVar.Add(n.Text);
}
..
..
..
Thank you in advance,
Marcelo Muzilli