想实现replace(【姓名】,e.DataRow(姓名)格式为: replace("【姓名】",e.DataRow("姓名"))
红色部分 ""该怎么表示呢?
Dim str As String = ""
For Each c As Col In Tables("告知内容").cols
str &= "【"& c.name & "】"
Dim r As Row =Tables("aaa").addnew
r("第一列")=c.name
r("第二列")="【" & c.name & "】" & ",e" & "." & "DataRow" & "(" & "" & c.name & "" & ")"
r("第三列")="replace(" & r("第二列")
Next

此主题相关图片如下:qq图片20190414132939.png

[此贴子已经被作者于2019/4/14 13:39:39编辑过]