窗口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编辑过]