以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  请问如何获取CreateFromDataTable生成表格的html代码  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=163813)

--  作者:liufucan
--  发布时间:2021/4/25 19:07:00
--  请问如何获取CreateFromDataTable生成表格的html代码
如题
--  作者:有点蓝
--  发布时间:2021/4/25 20:49:00
--  
更新到最新版,然后Output.Show(wb.BuildHTML("Table1")) 

6、Weui 增加了一个 BuildHTML 方法,用于获得指定元素的 HTML,例如: 
Dim wb As New weui wb.AddForm("","form1","test.htm")
With wb.AddInputGroup("form1","ipg1","登录")
    .AddInput("xm","户名","text")
    .AddInput("pw","密码","password")
End With
With wb.AddButtonGroup("form1","btg1",True)
    .Add("btn1", "确定", "submit")
End With
Output.Show(wb.BuildHTML("form1")) \'BuildHTML的参数为要元素ID