Hi i'm building application in MVC and i want to use a display template to display my model in a view. This is my template, but it gives me error when I try to display it:
@*<tr>
<td>@Html.Display(NameE)</td>
<td>@Html.Display(NameC)</td>
<td>@Html.Display(NameR)</td>
<td>@Html.Display(Timespan) </td>
<td><button class="button" type="submit" name="Review"></button></td>
</tr>*@
I want this template to display each row filled with database data in the td
's, but it is doing nothing. What am I doing wrong ?