Home All Groups Group Topic Archive Search About
Author
18 Feb 2006 12:28 PM
Ed
Hi

I have populated a Dropdown from Active Directory as follows

On Login.aspx

DoorsList.Items.Add(result.Properties("sAMAccountName")(0).ToString)

This works fine and is populated correctly but I would like to use the
item selected Item in a different form. i.e default.aspx.
How can I achieve this, do I need to use session variables or is there a
simpler way?

Cheers
Ed

Author
20 Feb 2006 7:28 PM
blackstaronline.net
If the seperate control is on the same page then you could just use;
DoorsList.SelectedValue

But if you are going to use the selectedvalue across multiple pages in
the site than I would suggest putting it in a session variable.

Session("DLSelected") = DoorsList.SelectedValue


Hope this helps,
Jeremy Reid
http://blackstaronline.net/hgtit