473,396 Members | 2,011 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

how to store and retrive this data in an aspx page

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

Feb 27 '07 #1
2 1318
Keys have to be unique. Can the countries be the keys?
Peter

<sa************@gmail.comwrote in message
news:11**********************@q2g2000cwa.googlegro ups.com...
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

Feb 28 '07 #2
On 2ÔÂ28ÈÕ, ÉÏÎç4ʱ04·Ö, sandeepkish...@gmail.com wrote:
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.

Feb 28 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: eric | last post by:
Hi Does any one know how to retrive data from foxpro 2.6 memo field in c#. I just manage to retrive the first row. /Eric
2
by: jmensch | last post by:
Hello. I'm a reasonably new ASP.NET programmer with no prior ASP or web development experience, but a lot of general programming experience. I'm using Visual Web Developer Beta Express 2005. ...
21
by: matvdl | last post by:
I have a system that was originally developed in asp - the pages are saved in SQL (there are over 10,000 pages) and saved to a temp directory in the server when requested by a client. I have...
1
by: ad | last post by:
When I use "FormsAuthentication.RedirectFromLoginPage(userName, createPersistentCookie)" to redirect to a web page (like default.aspx), how can I retrive userName in default.aspx?
2
by: Goran | last post by:
I'm a student and I've just started to learn Visual Studio.NET. I have a project to make a web application. I have a problem to connect to the database and retriving the PassType of the...
1
by: amritranjan | last post by:
How to retrive image file from MS access database and display this in another JSPpage -------------------------------------------------------------------------------- This is my Jsp code for...
10
by: arial | last post by:
Hi all, I need some help on retrive the value from query string. I have two web forms. One has the datagridview which displays the data from database. On one of the column I made a hyperlink to...
2
by: Sobin Thomas | last post by:
Hi All....... I am a beginner in asp.net.I need your help.I have a gridview control in my Default.aspx page.I use data adapter to fill a datatable and then I set the datasource of the gridview as...
1
by: senthiltr86 | last post by:
hai, i want to retrive the contents from one aspx page.i used some buttons like submit,view mail.i want to retrive the contents before this buttons.could you pls tell me how can i retrive without ...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.