Rss & SiteMap

Foxtable(狐表) http://www.foxtable.com

新一代数据库软件,完美融合Access、Foxpro、Excel、vb.net之优势,人人都能掌握的快速软件开发工具!
共2 条记录, 每页显示 10 条, 页签: [1]
[浏览完整版]

标题:[求助]CreateTree显示名称列

1楼
2900819580 发表于:2024/11/2 16:20:00
cmd.CommandText = "sele ct EmItid,EmPH,EmNM,EmGG from {Emlist} where Fzj = 0 " 
Dim sdt As DataTable = cmd.ExecuteReader

Dim tv1 As WinForm.TreeView = e.Form.Controls("TreeView1")
tv1.CreateTree(sdt, "EmPH", ".", "", "EmPH")

老师,以上代码,显示的只是Emph中的编号分段,我想显示对应的EmNM列,要怎么改。
2楼
有点蓝 发表于:2024/11/2 16:23:00
http://www.foxtable.com/webhelp/topics/2690.htm,看示例二
共2 条记录, 每页显示 10 条, 页签: [1]

Copyright © 2000 - 2018 foxtable.com Tel: 4000-810-820 粤ICP备11091905号

Powered By Dvbbs Version 8.3.0
Processed in .04297 s, 2 queries.