Suppose you have populated
ViewBag.ItemsForList = [items you want to appear on the combo box];
i.e. Name of the States in US, and have property called
. if you do not have the property then you might want to create ViewModel class with the property and use it as Model.
after this when you do following, you will have
populated in your
as property of
used when the form is submitted.
@Html.DropDownListFor(model => model.MyItem,
new SelectList(ViewBag.ItemsForList, "StateID", "StateName"))
you will get ID of the state name selected in your Action.