title: ASP.NET MVC 3 - Display a string value as Bool
body: <p>I am hoping for some help.  I have a string value - will be coming back as Y or N.  On a page I would like to convert this and display it as a readonly checkbox on the page.</p>
  
  <p>I have tried </p>
  
  <pre><code>@Html.CheckboxFor( model =&gt; Convert.ToBoolean(MyString)) 
  </code></pre>
  
  <p>but it does not like that.  Has anyone got any ideas how I can acheive this.  Do I need to do a convert to bool on my string in my c# controller page?</p>