以文本方式查看主题

-  Foxtable(狐表)  (http://foxtable.com/bbs/index.asp)
--  专家坐堂  (http://foxtable.com/bbs/list.asp?boardid=2)
----  加载失败  (http://foxtable.com/bbs/dispbbs.asp?boardid=2&id=191271)

--  作者:lin98
--  发布时间:2024/4/8 8:33:00
--  加载失败
窗口2加载失败,



窗口2
Dim db = HySq-l.DataBaseFactory.CreateDatabase("mx") \'
\'Dim Sq-l = "sel-ect * from bomgxb_tb  where  单号=\'sp\';" \'
Dim Sq-l = "sel-ect * from bomgxb_tb  where  单号=\'" & sp & "\' " \'
Dim dt As system.data.DataTable = db.ExecuteDataSet(Sq-l).Tables(0)
dt.TableName = "b2_tb"
Dim t As Table = e.Form.Controls("Table1").Table
t.datasource = dt.Copy
t.AllowEdit = True 
[此贴子已经被作者于2024/4/8 9:26:42编辑过]

--  作者:有点蓝
--  发布时间:2024/4/8 8:38:00
--  
提示什么错误?