Author: SynergyNT | Posted on: 4/17/2009 10:43:05 AM | Views : 342

Hello,
I'm having some difficulty with a form I'm working on.  I have two DropDownList controls that are both derived from separate columns in the same SQL table.  The query for the second DropDownList has a parameter that looks to the SelectedValue of the first DropDownList to determine which records it should pull.  This form is actually an edit form, so I am also pulling information on the specific record from another table and attempting to set the initial value of both DropDownList controls based on the individual record.  My problem is when the page loads, the second DropDownList has each record listed twice.  Here is my code.
  
1 <%@ Page Language="C#" %>
2
3 <%@ Import Namespace="System" %>
4 <%@ Import Namespace=Go to the complete details ...