title: mvc view table row number counter
body: <p>I have a table than shown one record of my model. for example list of category.
  i want to create manually row number for this table.</p>
  
  <pre><code>&lt;table class="table table-striped table-bordered table-hover table-full-width dataTable"&gt;
    @foreach (var item in Model)
    {   
      &lt;tr&gt;
        &lt;td&gt;
          **I want to Show Row Number Here**
        &lt;/td&gt;
        &lt;td&gt;
          @Html.ActionLink(item.Name, "ViewSubCategory", "ProductSubCategory", new { id = item.Id }, null)
        &lt;/td&gt;
      &lt;/tr&gt;
    }
  &lt;/table&gt;
  </code></pre>