accessing an unbound value from a typed list

Posts   
 
    
noobix
User
Posts: 14
Joined: 06-Nov-2007
# Posted on: 31-Jan-2008 10:51:57   

hi,

I have a typed list containing the countries from the db. The typed list consists of 3 fields (from the Country entity): - Id - Code - Name

Using the LLBLGenProDataSource web control (and the event PerformSelect) I managed to fill the country typed list and bind it to a dropdownlist (via Id and Name).

My question now is how can I access the Code value in the typed list depending on the SelectedValue of the dropdownlist?

I can't figure it out right now thus maybe somebody could help me please. Thank you.

Regards, Tino

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 31-Jan-2008 11:09:34   

Using on the SelectedValue you can query the TypedList for the corresponding code.