我有我的asp.net的MVC編輯觀點裏面folloiwng單選按鈕選擇一個Html.Radiobutton: -我怎麼能根據對象的值
<div class="editor-label">
@Html.LabelFor(model => model.InsuranceSettled)
</div>
<div class="editor-field">
@Html.RadioButton("InsuranceSettled", 1) Yes
@Html.ValidationMessageFor(model => model.InsuranceSettled)
</div>
<div class="editor-field">
@Html.RadioButton("InsuranceSettled", 0) No
@Html.ValidationMessageFor(model => model.InsuranceSettled)
</div>
但如何我可以選擇所需的單選按鈕accoring到模型值,所以如果model.InsuranceSettled值爲0,則選擇否單選按鈕,反之亦然.. BR