脚本向导-帮助文档

脚本向导-帮助文档


添加数据行

<h1>功能</h1> <p>将数据行添加到指定的数据表中。</p> <h1>输入</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>数据表</td> <td>[DataTable]自定义,要添加行的数据表对象</td> <td>目标数据表</td> </tr> <tr> <td>数据行</td> <td>[DataRow]自定义,要添加到数据表的数据行对象,如果设置了此属性,则忽略‘数组行’属性。</td> <td>行</td> </tr> <tr> <td>数组行</td> <td>['张三',111]</td> </tr> </tbody> </table> <h1>输出</h1> <table> <thead> <tr> <th>名称</th> <th>说明</th> <th>示例</th> </tr> </thead> <tbody> <tr> <td>数据行</td> <td>[DataRow]自定义</td> <td>添加的数据行对象输出</td> </tr> </tbody> </table> <h1>注意/说明</h1> <p>1.通过“数据行”参数来添加数据行,则需要与“对于每一个行”函数结合使用,具体使用如下: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/018008bb77f4b54bfd0332c36654431e" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/9abb00e6bb54e9630ed0204ed2cb767e" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/947fcde4edd8703dd1e2a1b2dcd019e4" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/39181e3087ede28825c36c854e936721" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/c910bc33ed3fa05eb921cc093735e008" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/90dc96aba9a70e7e4a2e9a62339f5d3a" alt="" /> 2.通过“数组行”来添加行数据: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/d2913175f69fc464e45a1a3eda46c226" alt="" /> <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/fa7b72abdc5dae32453d16fc44f99b23" alt="" /> 3.“数据行”属性和“数组行”属性不能同时设置,如若设置了“数据行”属性,则忽略“数组行”属性。</p> <h1>相关函数</h1> <p>无</p> <h1>示例/演示</h1> <p>源数据表: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/d192d005937a0dda565c4ee2b28e60bc" alt="" /> 目标数据表: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/30d9d49ef74f5475cceb1c09c4ff61d3" alt="" /> 将源数据表中的每一行数据添加到目标数据表中: <img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/e07666bc95d0dd29ffd638ea1a02da68" alt="" /></p> <h1>示例附件</h1> <p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/96f9d6f44629ed7d744959f262f41a9d" title="[组件[添加数据行]_20210419.db">组件[添加数据行]_20210419.db</a></p>

页面列表

ITEM_HTML