how to store and retrive this data in an aspx page

S

sandeepkishanj

please tell me which collection variable (or something else) should i
use to store and retrieve the following sample data...

i have the following in drop down list1..
Asia
North America

when i select Asia...my second drop down should show...
China
India
Mongolia

now my problem is ..i'm not able to store
asia :: india
asia :: china
asia :: mongolia
as key : vlaue pains in a hash table...
please tell me how to solve this..and what collection should i use
thankx in advance
 
A

Alexander.Zen

please tell me which collection variable (or something else) should i
use to store and retrieve the following sample data...

i have the following in drop down list1..
Asia
North America

when i select Asia...my second drop down should show...
China
India
Mongolia

now my problem is ..i'm not able to store
asia :: india
asia :: china
asia :: mongolia
as key : vlaue pains in a hash table...
please tell me how to solve this..and what collection should i use
thankx in advance

/////////////////////////
You could get the index when user make their selection, and its easy
to fix the countris position in the dropdown list, and you could show
the content of the second dropdown list at you will with regards to
the index you get before.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top