设置行数据
<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>[integer]自定义,要设置的列的索引。</td>
<td>2</td>
</tr>
<tr>
<td>数据</td>
<td>[TList<String]自定义,要设置行的内容,可通过变量传入。</td>
<td>字符串列表</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.输入栏中的“数据”是字符串列表类型的变量,此处我们可以通过与“构建字符串列表”函数结合使用。使用如下:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/7290d26c1afba975ceaf0ed2b494dec2" alt="" />
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/92d51a444e73a5aa055df619a2b91fbc" alt="" />
2.数据表的行、列索引均从0开始。</p>
<h1>相关函数</h1>
<p>无</p>
<h1>示例/演示</h1>
<p>在数据表的第3行增加数据:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/99c54ab2bd3005cb2f38775970fee66a" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/de3b8b9f58f3e78d67b847c1b79de342" title="[组件[设置行数据]_20210420.db">组件[设置行数据]_20210420.db</a></p>