A
Aaron
I have a session variable populated with a name.
I also have a dropdownlist populated with several names.
I would like to select the name in the dropdown that matches the name in the
session variable.
I am trying :
'DropDownList1.SelectedIndex = DropDownList1.Items.IndexOf(Session("Name"))
This does not work.
Any ideas?
Thanks,
Aaron
I also have a dropdownlist populated with several names.
I would like to select the name in the dropdown that matches the name in the
session variable.
I am trying :
'DropDownList1.SelectedIndex = DropDownList1.Items.IndexOf(Session("Name"))
This does not work.
Any ideas?
Thanks,
Aaron