|
-
Jun 5th, 2007, 12:21 PM
#1
Thread Starter
Hyperactive Member
[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
Last edited by texas; Jun 5th, 2007 at 04:24 PM.
-
Jun 5th, 2007, 04:24 PM
#2
Thread Starter
Hyperactive Member
Re: [2005] DropDownList SelectedValue ? [resolved]
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)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|