Dim str As String = e.combobox1.SelectedValue MessageBox.show(str)
For Each dr1 As DataRow In DataTables("清单表").Select("[单位工程] = str") Dim dr2 As DataRow = DataTables("进度表").AddNew() For Each dc As DataCol In DataTables("清单表").DataCols dr2(dc.Name) = dr1(dc.name) Next Next