Hi Guys,
I'm coding an Webpage in VS.NET 2010[C#] that scans the Serial Number of Product into a Treeview in a Work Order > Box > Product hierarchy.
What I wanted to do was to use the following to Remove the ChildNodes:
//Use the GetEnumerator method to create an enumerator that contains the root node data.
IEnumerator nodeEnumerator = myTreeView.CheckedNodes.GetEnumerator();
// Iterate through the enumerator to display the root nodes.
while (nodeEnumerator.MoveNext())
{
//In here I would like to Remove the TreeNode
//MessageBox(((TreeNode)(nodeEnumerator.Current)).Text);
}
}
else
{
MessageBox("The TreeView control does not have any ...
Go to the complete details ...