I am creating a ToDo list using ASP.NET MVC.
Every record has Action links as Edit, Details and Delete.
I would like to change these links to .PNG pictures. How exactly should it be done?
I have tried the following code, but got no luck on it.
<td>
@Html.ActionLink("Edit", "Edit", new { id=item.ToDoID}) |
@Html.ActionLink("Details", "Details", new { id=item.ToDoID })
<img src="@Url.Content("~/images/details.png")" height="15" width="15" /> |
@Html.ActionLink("Delete", "Delete", new { id=item.ToDoID })
<img src="@Url.Content("~/images/delete.png")" height="15" width="15" />
</td>