ASP.NET 获取所有TreeView节点
有没有办法获取 TreeView
控件内的所有 TreeNode
对象,而无需迭代 TreeView.Nodes
和 TreeNode.ChildNodes< /代码> ??
Is there a way to get all the TreeNode
objects inside a TreeView
control without iterating through the TreeView.Nodes
and TreeNode.ChildNodes
??
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不,如果不迭代 Nodes 和 ChildNodes,就无法获取所有 TreeView 节点。
No, you can not get all TreeView nodes without iterating Nodes and ChildNodes.