我需要在此语法中添加第三个条件,以便 S139a 字段变得不可见。
<div style="float: left; width: 80px; visibility: visible">S139a:</div>
<div style="float: left;">@if (Model.xyz == 0)
{@Html.Raw("No")}
else
{@Html.Raw("Yes")}
</div>
<div style="clear: both;"></div>
我需要在此语法中添加第三个条件,以便 S139a 字段变得不可见。
<div style="float: left; width: 80px; visibility: visible">S139a:</div>
<div style="float: left;">@if (Model.xyz == 0)
{@Html.Raw("No")}
else
{@Html.Raw("Yes")}
</div>
<div style="clear: both;"></div>