Try this. In my case it is working fine.
@Html.DropDownList("SelectedEmployee", new SelectList((System.Collections.IEnumerable)ViewData["categories"], "CategoryId", "CategoryName"))
Here CategoryId and CategoryName is the property of your Category model.