The ViewBag is a dynamic object, which cannot be used directly from your View (that is basically what the error is saying). You'll need to cast it:
@Html.DropDownList("StateList", (SelectList) ViewBag.StateList)
Another option would be to use ViewData though it may also require casting.