师傅你好:
我在一张总表中,调用另外两张表或多张表的数据,不知道如何整合通用,例如:
ENTAR事件:
Dim s As String = e.Form.Controls("ComboBox6").Value
e.Sender.Combolist = DataTables("铁盘订单").GetComboListString("规格尺寸", "[订单编号] = '" & s & "'")
Dim n As String = e.Form.Controls("ComboBox6").Value
e.Sender.Combolist = DataTables("木盘订单").GetComboListString("规格尺寸", "[订单编号] = '" & n & "'")
Dim s As String = e.Form.Controls("ComboBox6").Value
e.Sender.Combolist = DataTables("木箱订单").GetComboListString("规格尺寸", "[订单编号] = '" & f & "'")
Dim s As String = e.Form.Controls("ComboBox6").Value
e.Sender.Combolist = DataTables("全铁盘订单").GetComboListString("规格尺寸", "[订单编号] = '" & r & "'")
Dim s As String = e.Form.Controls("ComboBox6").Value
e.Sender.Combolist = DataTables("木托架订单").GetComboListString("规格尺寸", "[订单编号] = '" & t & "'")
请师傅帮忙整理,谢谢!