请问一下TreeView控件我想遍历所有的节点有没有这个属性的?谢谢.
如:
foreach (TreeNode myNode in Test.Nodes)
{
// Check whether the tree node is checked.
if(myNode.Checked)
{
// Set the node's backColor.
Page.Response.Write(myNode.Text);
Response.Write("<BR>");
}
}
只能遍历一层...我想遍历所有层的.谢谢.