By DDL I'm assuming you mean the Drop Down List. The 'Up' and 'Down' are text strings to be displayed in the drop down list. You have values in of '0' and '1' in the Drop Down List. In your datasource you have nulls, '0' and '1' in a Direction column
of a table of some sort which is what you are binding to. The values in ASP.LISTITEM identified by value='0' etc... is what you are matching on. Try testing with only Direction values of '0' and '1' in your datasource (not the DDL list items) and see if you
get a clean run.
bofcarbon1
Member
53 Points
21 Posts
Re: 'DropDownList1' has a SelectedValue which is invalid because it does not exist in the list of...
Jul 29, 2009 02:17 PM|LINK
By DDL I'm assuming you mean the Drop Down List. The 'Up' and 'Down' are text strings to be displayed in the drop down list. You have values in of '0' and '1' in the Drop Down List. In your datasource you have nulls, '0' and '1' in a Direction column of a table of some sort which is what you are binding to. The values in ASP.LISTITEM identified by value='0' etc... is what you are matching on. Try testing with only Direction values of '0' and '1' in your datasource (not the DDL list items) and see if you get a clean run.