获取行项目
<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>[integer]自定义,要从数据表中检索其值的行的索引。</td>
</tr>
<tr>
<td>列索引</td>
<td>[integer]自定义,要从数据表中检索其值的列的索引。</td>
<td>2</td>
</tr>
<tr>
<td>列名称</td>
<td>[string]自定义,要从数据表中检索其值的列的名称,如果设置了此属性,则忽略‘列索引’属性。</td>
</tr>
<tr>
<td>列</td>
<td>[DataColumn]自定义,要从数据表中检索其值的数据列对象,如果设置了此属性,则忽略‘列名称’和‘列索引’属性。</td>
</tr>
</tbody>
</table>
<h1>输出</h1>
<table>
<thead>
<tr>
<th>名称</th>
<th>说明</th>
<th>示例</th>
</tr>
</thead>
<tbody>
<tr>
<td>值</td>
<td>[string]自定义,来自指定数据行的列值。</td>
<td>行项目</td>
</tr>
</tbody>
</table>
<h1>注意/说明</h1>
<p>1.数据表中行、列的索引从0开始。
2.如果设置了“行”的属性值,则可忽略“行索引”。
3.如果设置了“列索引”的属性值,则可忽略“列名称”和“列”。</p>
<h1>相关函数</h1>
<p>无</p>
<h1>示例/演示</h1>
<p>数据表:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/523fc17c43e9003d73fdfc62094a2c8f" alt="" />
获取每一行中的第3列的值:
<img src="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/0d068b47e4106a519b63f4847ebe2ba8" alt="" /></p>
<h1>示例附件</h1>
<p><a href="https://www.showdoc.com.cn/server/api/attachment/visitfile/sign/0f70f7dce674b8e85e569631a9269e3f" title="[组件[获取行项目]_20210419.db">组件[获取行项目]_20210419.db</a></p>