J
jonny
I have two dropdown controls and one sql table with column 1 & 2. I
would like dropdown2 selection to be based on the selected item in
dropdown1.
For example, if dropdown1 selection is "oee" then I would like
dropdown2 to only show selection for items in the table column 2 where
column 1 has "oee" listed.
So what I am having trouble with is the connection string where I only
want to return items where equal to dropdown1 value...see my
connection string here:
Dim sql As String = "SELECT distinct column2 FROM MyTable Where
column1 = webform.dropdown1"
I think i am hung up here where I am using the actual value in
dropdown1 on webform in my sql connection string...
Please advise.
would like dropdown2 selection to be based on the selected item in
dropdown1.
For example, if dropdown1 selection is "oee" then I would like
dropdown2 to only show selection for items in the table column 2 where
column 1 has "oee" listed.
So what I am having trouble with is the connection string where I only
want to return items where equal to dropdown1 value...see my
connection string here:
Dim sql As String = "SELECT distinct column2 FROM MyTable Where
column1 = webform.dropdown1"
I think i am hung up here where I am using the actual value in
dropdown1 on webform in my sql connection string...
Please advise.