以文本方式查看主题 - Foxtable(狐表) (http://foxtable.net/bbs/index.asp) -- 专家坐堂 (http://foxtable.net/bbs/list.asp?boardid=2) ---- 请教:TabBar可以包括多个页面,页面中能否生成表格? (http://foxtable.net/bbs/dispbbs.asp?boardid=2&id=123364) |
-- 作者:bahamute -- 发布时间:2018/8/13 11:12:00 -- 请教:TabBar可以包括多个页面,页面中能否生成表格? 想把dt1 显示在TabBar组件的page3,如何操作 Dim dt1 As DataTable dt1 = cmd1.ExecuteReader With wb.AddTabBar("", "tb1", 1) .AddPage("page1","合同概况","./images/0200761_24.png") .AddPage("page2","签订方","./images/558863.png") .AddPage("page3","收付信息","./images/558863.png") End With With wb.AddArticle("page1","ar1") .AddImage("./Pic/" & dr("工号") & "-" & dr("姓名") & ".jpg") .AddTitle("h1","主要信息")
End With With wb.AddArticle("page2","ar2") .AddTitle("h2","内容概述:" & dr("内容概述"))
End With With wb.AddArticle("page3","ar3") .AddTitle("h1","收付信息") 。。。。此处需要显示dt1 End With [此贴子已经被作者于2018/8/13 11:48:43编辑过]
|
-- 作者:有点甜 -- 发布时间:2018/8/13 12:12:00 -- With wb.AddTable("page3","Table1") .CreateFromDataTable(DataTables("订单")) End With |
-- 作者:bahamute -- 发布时间:2018/8/13 12:26:00 -- 多谢,没转过这个弯。 |