This is how I do it IList<Customer> customers = repository.GetAll<Customer>(); IEnumerable<SelectListItem> selectList = from c in customers ...
確定! 回上一頁