[2005] DropDownList SelectedValue ? [resolved]
Any idea why i'm not seeing the SelectedValue property for a DropDownList?
I'm trying to do something like this with no luck:
Code:
<asp:DropDownList ID="DropDownList1" runat="server"
DataSourceID="AccessDataSource2"
DataTextField="CategoryName"
DataValueField="CategoryID"
SelectedValue='<%# Bind("CategoryID") %>' />
http://www.mikepope.com/blog/AddComm...px?blogid=1423
Re: [2005] DropDownList SelectedValue ? [resolved]
:eek2:
the data types in my tables didn't match... this was causing me to get the following error:
SelectedValue which is invalid because it does not exist in the list of items
(live and learn)