title: HOw to link table to @Html.ActionLink
body: <p>I have program in mvc which fetch data from controller and then display in view.It makes dynamic table with data in it. Inside it there is a link "SEE DETAILS", but instead of a single link i want to make whole table as a link like :</p>
  
  <pre><code> @Html.ActionLink("SEE DETAILS", "AppDetail", new { @id = item.id, appnameformp = item.AppNameForMP }, new { @style = "color:#C55000;font-size: 11px;text-decoration:none;" })
  </code></pre>
  
  <p>but i don't know how to do it...Any help is really appreciated and thanks in advance.</p>
  
  <pre><code> &lt;div class="grid_9.5 alpha"&gt;
           @foreach (var item in Model)
           {
              &lt;div class="grid_4 alpha box_shadow" id="featured-subbillboard" style="margin-bottom:10px;"   &gt;
                 &lt;table&gt;
                      &lt;tr &gt;
                      &lt;td&gt;&lt;img height="140" width="130" src=@item.imgfile /&gt;
                      &lt;/td&gt;
                      &lt;td&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/td&gt;
                      &lt;td class="table"&gt;
                          &lt;h1  class="heading1" style="margin-top:10px; line-height: .4em;"&gt;@item.AppNameForMP &lt;/h1&gt;
                          &lt;h2 class="heading2"&gt;@item.DevName &lt;/h2&gt;
                          &lt;br /&gt;
                          &lt;p class="para"&gt;
                          @if (item.AppDesc.Length &gt; 50)
                              {@item.AppDesc.Remove(@item.AppDesc.Length -50)} 
                          else
                              { @item.AppDesc}
                          &lt;/p&gt;
                          @Html.ActionLink("SEE DETAILS", "AppDetail", new { @id = item.id, appnameformp = item.AppNameForMP }, new { @style = "color:#C55000;font-size: 11px;text-decoration:none;" })
                       &lt;/td&gt;
  
                       &lt;/tr&gt;
                  &lt;/table&gt;
              &lt;/div&gt;
           }
         &lt;/div&gt;
  </code></pre>