If e.DataCol.Name = "第一列" Then Dim pdr As DataRow = DataTables("父表").find("合同编号 = '" & e.DataRow("合同编号") & "'") If pdr IsNot Nothing Then Dim str As String = "" For Each dr As DataRow In DataTables("子表").Select("合同编号 = '" & e.DataRow("合同编号") & "'") str & = dr("审核意见") & vbcrlf Next pdr("审核意见") = str.trim(chr(10), chr(13)) End If End If