c# combobox values bound from database, and adding initial values
Posted on 2007-08-06
I have several comboboxes which are being built from values in a database, usually a name and a guid for a value.
They will be used in a query filter, so values could be "All, None, Item1, Item2, Item3.
Since All and None don't exist in the database, I need to add them to the combobox. Since they don't have GUIDs, I have to either use a blank guid, or a blank value. How do people do this? Since I can't use a my datatable since I am adding values.