提取符合ComboBox1值的数据行集合,填充到跨表填充表里.... 提取按钮中代码如下 Dim str As string = e.form.Controls("ComboBox1").Value Dim drs As List(Of DataRow) drs = DataTables("订单").Select("[雇员]= '"& str &"'") 后面的不会了....
[此贴子已经被作者于2009-1-18 10:30:26编辑过]
2楼
狐狸爸爸 发表于:2009/1/18 11:26:00
For each dr as DataRow in drs dim r As DataRow = DataTables("表").AddNew() r("某列1") = dr("某列1") r("某列2") = dr("某列2") .... Next