N
netnatter
I am getting a value from a textbox and checking its in a dropdown list then
displaying it with taht position in the list selected
All is well but it is case sensitve.
Is there a work round to make it ignore case? ie if category="Front porch"
and the user typed Front Porch or front porch
e.g. DropDownList1.SelectedValue =
DropDownList1.Items.FindByText(category).Value
displaying it with taht position in the list selected
All is well but it is case sensitve.
Is there a work round to make it ignore case? ie if category="Front porch"
and the user typed Front Porch or front porch
e.g. DropDownList1.SelectedValue =
DropDownList1.Items.FindByText(category).Value