I have three dropdownlists. After I pick from the first list, the second list has it's possible records filtered via the first dropdownlist's DataValueField. Once I select from the second ddl, the third ddl has it's records even further filtered.
I can show the DataFieldValue in a label right under the first ddl which is how I want to make the decision in my "Where" clause which populates my second ddl. The propblem is I can figure out how to get the string value of the label for the first ddl or the selected value of the first ddl to populate my SQL string's where clause. I am using DataAdapters and DataSets. I know I should probably be using DataReaders instead.
I've been trying to mess with the Page_Load handler, and using If (Not Page.IsPostBack)....Else...End IF, but this isn't working as well.
Thanks!
bubberz
I can show the DataFieldValue in a label right under the first ddl which is how I want to make the decision in my "Where" clause which populates my second ddl. The propblem is I can figure out how to get the string value of the label for the first ddl or the selected value of the first ddl to populate my SQL string's where clause. I am using DataAdapters and DataSets. I know I should probably be using DataReaders instead.
I've been trying to mess with the Page_Load handler, and using If (Not Page.IsPostBack)....Else...End IF, but this isn't working as well.
Thanks!
bubberz