I've a view that displays list structure for the documents uploaded. However, this needs to change to create dropdownlist instead of list. below code creates list
@foreach (var item in Model)
{
<tr>
<td>@Html.DisplayFor(modelItem => item.FileId)</td>
<td>@Html.DisplayFor(modelItem => item.FileName)</td>
<td>@Html.ActionLink("Download", "Download", new { id=item.FileId})</td>
</tr>
}
This needs to be changed to create a dropdownlist, how can I do that?