Linq Boolean returns exception DROPDOWNLIST has a SelectedValue which is invalid because it does not exist in the list of item
问题 I have a dropdownlist that is bound to a linq data source. This drop down list shows all the bowzer numbers except those whos status is set to false in the database. Suppose I have a record which was created earlier and now i want to edit the bowzer that is now set to false. I am thrown with this exception and i don't know how to deal with it. 'bowzerddl' has a SelectedValue which is invalid because it does not exist in the list of items. Parameter name: value Here is the code for my