V field in razor (Dropdown unlimited)
-
It is possible to show a certain text based on the value of the dropdown, for details see Show fixed text based on dropdown value.
-
The background color of the text can be adapted according to the dropdown value, for details see Colorize the background of the text.
<tr>
<td>@Model.V293.Label</td>
<td>
<span>@Model.V293</span>
</td>
</tr>
The code placed in a table:
<table class="table">
<thead>
</thead>
<tbody>
<tr>
<td>@Model.V293.Label</td>
<td>
<span>@Model.V293</span>
</td>
</tr>
</tbody>
</table>