Hi, I'm trying to get a list of the unique values from a field called 'domain' using the query below. Instead of just giving me the values themselves, my dropdown (drpDomain) contains values in this format: {Key = LNAU} etc. All I want to see is the value itself. Am I missing something obvious? Thanks!
var domainList = from v in db.Vendors
group v by new {v.Domain} into g
select g.Key;
drpDomain.DataSource = domainList;
drpDomain.DataBind();