I have a checkbox, is the case statement from the stored procedure marks the value as 1 I want to have the box checked. I tried this below but with no success.
<td width="2%">
@if (Model.IsCurrentlyClosed == true)
{
@Html.CheckBoxFor(item => checked(item.IsCurrentlyClosed))
}
else
{
@Html.CheckBoxFor(item => item.IsCurrentlyClosed)
}