呵呵,你原来的代码太高级了,应该简单点:If e.DataCol.Name = "内容" Then Dim dr As Row = Tables("表B").Current Dim Val As String = DataTables("表C").GetComboListString("内容","") dr("第一列") = Val.Replace("|",",")End If
dr("第一列") = Val.Replace("|",",")感谢狐爸,就是这个不会搞,没有理解出来,