I have a datalist that contains a databound dropdown list. When I click the edit command of the datalist, the drop down is populated by a sql stored procedure. The data is then displayed in the datalist with the correct value selected in the drop down. This all works fine, until no value has been selected. The datalist sp returns null, and the drop down does not contain a null option, so I get the following: "'cboRelation' has a SelectedValue which is invalid because it does not exist in the list of items". Is there a way to inject a "Please Select" option into the drop down, with a value of "" to resolve this?
mwa
<><
mwa
<><