I have some linq code that is sometimes null:
cbo3.ItemsSource = empty.Union(from a in
(from b in CompleteData
select b.TourOpID).Distinct()
select new ComboBoxItemString() { ValueString = a.Value.ToString() });
But TourOpID is sometimes null throwing an error on a.Value.ToString() . How do I solve this?