hi all,
when a user select between clasue from the operatorselector dropdown I would like to add another text box otherwise I have one text box for the rest of the operators. how can I acomplish this. thanks
Sub OperatorSelector()
Dim opSelector As ArrayList
opSelector = New ArrayList
opSelector.Add("<")
opSelector.Add("<=")
opSelector.Add("=")
opSelector.Add(">")
opSelector.Add(">=")
opSelector.Add("Between")
opSelector.Insert(0, "--Select Operator--")
drOperator.DataSource = opSelector
drOperator.DataBind()
End Sub
will this work for me
Protected Sub drOperator_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles drOperator.SelectedIndexChanged
If drOperator.SelectedValue.ToString = "Between" Then
lblMax.Visible = True
txtMax.Visible = True
Else
End If
End Sub
when a user select between clasue from the operatorselector dropdown I would like to add another text box otherwise I have one text box for the rest of the operators. how can I acomplish this. thanks
Sub OperatorSelector()
Dim opSelector As ArrayList
opSelector = New ArrayList
opSelector.Add("<")
opSelector.Add("<=")
opSelector.Add("=")
opSelector.Add(">")
opSelector.Add(">=")
opSelector.Add("Between")
opSelector.Insert(0, "--Select Operator--")
drOperator.DataSource = opSelector
drOperator.DataBind()
End Sub
will this work for me
Protected Sub drOperator_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs) Handles drOperator.SelectedIndexChanged
If drOperator.SelectedValue.ToString = "Between" Then
lblMax.Visible = True
txtMax.Visible = True
Else
End If
End Sub