var userColor = db.userColor;
foreach(var x in userColor){
var correspondingDropDownValue = from m in db.user
where m.UserID == x.UserID
select m;
ViewData["dropDown_Color"] = correspondingDropDownValue.Select(j => new SelectListItem { Text = j.ListOfValue, Value = j.ListOfValue }).ToList();
}
In this db.userColor table has another column known as db.userColor.default which carry a value that to be used as the default value. How can I modify the code above to set the selected value?