winform combobox lambda expression -
winform combobox lambda expression -
i have combobox in vs 2010 using vb.net. i'd utilize ilist drive combobox. have working when seek order combobox using lambda expression, nil shows in combobox.
me.cbagency .datasource = os.orderby(function(o) o.agency) .displaymember = "agency" .tag = os .selectedindex = nil end
take out orderby(function(o) o.agency) , works. i've used syntax before in asp.net , seems work.. wondering different or i've done wrong. thanks
you might have phone call tolist()
on iqueryable execute query:
.datasource = os.orderby(function(o) o.agency).tolist()
combobox lambda
Comments
Post a Comment