以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  BuildTree排序  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=194005)

--  作者:1234567
--  发布时间:2024/11/1 16:01:00
--  BuildTree排序

如何按主键降序排序

Dim tv As WinForm.TreeView
tv = e.Form.Controls("TreeView1")
tv.BuildTree("订单", "产品|客户|雇员", “_Identify DESC”)


--  作者:有点蓝
--  发布时间:2024/11/1 16:16:00
--  
tv.BuildTree("订单", "产品|客户|雇员","", "_Identify DESC")

语法:

BuildTree(DataTableName, Columns, Filter, Sort)

BuildTree(DataTable, Columns, Filter, Sort)