GIS在哪里

 

C# windows forms 遍历treeview

 

TreeNodeCollection tc = treeView1.Nodes;

GetNode(tc);

public   void   GetNode(TreeNodeCollection   tc)  
        {  
           foreach(TreeNode   TNode   in   tc   )  
          {
               string PlaceNodeText = TNode.Tag.ToString()+"(" + db.ReturnCount(countPlaceTotalsql) + ")";
              GetNode(TNode.Nodes);  
           }   
         }

posted on 2009-04-16 13:53  寻找GIS  阅读(232)  评论(0编辑  收藏  举报

导航