title: How to use html.textboxfor for numbers in MVC
body: <p>I am developing MVC web app, having a model class <strong><em>student.cs</em></strong></p>
  
  <p>which has properties <strong><em>name, address, points</em></strong> where points is an integer. in view I am trying to use:</p>
  
  <pre><code>&lt;%=Html.TextBoxFor(model =&gt; model.points) %&gt;
  </code></pre>
  
  <p>The compiler cannot accept it.
  how to use Html.TextBoxFor for integers?</p>