SyntaxFix
Write A Post
Hire A Developer
Questions
May not sound very elegant, but I usually do something like this:
var items = repository.func.ToList(); items.Insert(0, new funcItem { ID = 0, TextValue = "[None]" }); ViewBag.MyData = new SelectList(items);