Can anyone tell me why this doesn’t set the value on the ListItems to ID? Value and Text both come out as DISPLAY_NAME
lstSelected.DataSource = entities.User
.Where(x => SelectedItems.Contains(x.ID))
.Select(x => new ListItem { Text = x.DISPLAY_NAME, Value = x.ID })
.ToList<ListItem>();
lstSelected.DataBind();
Try setting
DisplayMemberandValueMemberproperties (orDataTextFieldandDataValueFieldif you are using asp.net)