Implement this code so that it works as it should be, when pressing the button, direct me to an entry corresponding to that id. My idea was this but it is clear that it is wrong.
<button class="btn btn-xs btn-default" title="Editar"
onclick="location.href='@Html.ActionLink("EDITAR", "Details", new { id = item.PKDATOS })'">
<i class="fa fa-file-pdf-o"></i>
</button>
<button class="btn btn-xs btn-default" title="Editar" onclick="location.href='@Html.ActionLink("EDITAR", "Edit", new { id = item.PKDATOS })'">
<i class="fa fa-edit"></i>
</button>
<button class="btn btn-xs btn-default" title="Eliminar" onclick="location.href='@Html.ActionLink("ELIMINAR", "Delete", new { id = item.PKDATOS })'">
<i class="fa fa-trash-o"></i>
</button>
The result that gives me in the browser is this:
and should be: