I have the following table located in a view within a controller named Student (/Student/Details/1):
@foreach (var item in Model.Enrollments)
{
&
If I understand right your question, you want a link with the text of the course.
This should work:
@Html.ActionLink(item.Course.Title, "Details", "Course")
If you want to pass the ID of the course to the controller (assuming your routing rules are set correctly and the Id is something like: item.Course.Id)
@Html.ActionLink(item.Course.Title, "Details", "Course", new { Id = item.Course.Id }, null /* html attributes */)
If you need to use the UIHint attribute on the property, to add extra formatting, you can use this
@Html.DisplayFor(modelItem => item.Course.Title)