I have a bit of a problem with the selected value of a drop down box in asp.
i get this error:
'drpSponsor' has a SelectedValue which is invalid because it does not exist in the list of items.
Parameter name: value
my code for the binding is this:
<asp:DropDownList ID="drpSponsor" runat="server" DataSourceID="srcSponsorNames" DataTextField="Name"
DataValueField="Name" SelectedValue='<%# Bind("Sponsor") %>'>
Any help would be greatly appreciated.