Vinod Yadav
How can you use helper classes with combination of Model?
By Vinod Yadav in .NET on Jun 10 2016
  • Vinod Yadav
    Jun, 2016 10

    <% foreach (var item in Model) { %> <%: Html.ActionLink(“Edit”, “Edit”, new { id=item.AlbumId }) %> | <%: Html.ActionLink(“Delete”, “Delete”, new { id=item.AlbumId })%> <%: Html.Truncate(item.Title, 25) %> <%: Html.Truncate(item.Artist.Name, 25) %> <%: item.Genre.Name %> <% } %>

    • 0


Most Popular Job Functions


MOST LIKED QUESTIONS