Better to have a model that collects the ID of the selected item, as well as your list of possible options.
e.g. Soemthing along these lines
public class MyViewModel
{
public int SelectedValue {get; set;}
public IEnumerable<swdetails> {get; set;}
}
public ActionResult ShowMyView
{
var model = new MyViewModel();
model.SwDetails =
}
@model MyViewModel
@Html.DropDownListFor(m => m.SelectedValue, new SelectList(Model.RatingScaleOptions, "SwId", "SwName"), "[Select One]")
@Html.ValidationMessageFor(m => m.SelectedValue)</swdetails>
So, you use the 'SelectValue' to retrieve the value that is set by your user picking an item. Validation is against this field.