摘要:
private void loadtree() { GTree.Nodes.Clear(); ds = workdo.GetDataSet(); InitTree(GTree.Nodes, "0"); } private void InitTree(TreeNodeCollection Nds, string parentid) { DataView dv = new DataView(); TreeNode tmpNd = null; dv.Table = ds.Tables[0]; dv.RowFilter = String.Format("ParentID= 阅读全文