datatablebuilder如何判断是否有一样列 Post By:2024/1/29 14:56:00 [显示全部帖子]
drs = DataTables("工艺参数记录").SQLSelect("产品= '" & cpname.Value & "' and 规格= '" & spec.value & "'")’ 这里会有很多重复的行 For Each dr As DataRow In drs If dtb.Contains(dr("编码")) = False Then dtb.AddDef(dr("编码"), GetType(String), 200, Nothing, dr("项目")) End If