Dim tr As WinForm.TreeView = e.Form.Controls("TreeView1")
Dim nd As WinForm.TreeNode
tr.StopRedraw()
tr.Nodes.Clear
Dim DataTableName As String = "DataStandard"
Dim Columns As String = "BigClass_名称|DropDownClass|DropDownName"
Dim Filter As String = ""
Dim Sort As String = "" \'"DataId" 加上这个排序语句 则出现不正常。这个指示为录入顺序。
Dim mj As Boolean = True
Dim js As Integer
tr.BuildTree(DataTableName, Columns, Filter, Sort)
tr.Nodes.Insert("无",0)
\'tr.ExpandAll
tr.ResumeRedraw()