【发布时间】:2020-12-06 10:22:21
【问题描述】:
我有一个 razor 组件,其中包括一个简单的表,我想将其用作输入表,如下所示:
<label for="dependencies">Abhängigkeiten</label>
<table class="table table-striped">
<tr>
<th scope="col">Name</th>
<th scope="col">Version</th>
<th scope="col">Entfernen</th>
</tr>
</table>
在代码部分中,我有一个 IEnumerable<T> 类型的属性,我想动态绑定到表,因此集合的内容会绑定到表。我必须这样做哪些选项?
【问题讨论】:
标签: blazor blazor-client-side blazor-webassembly