473,378 Members | 1,393 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,378 software developers and data experts.

how to maintain relation between two dropdownlistboxes in .Net2005 version?

Hi!
plz guide me that
how can i get related information from one dropdownlistbox to another.
For ex: My first Dropdownlist contains country names,second dropdownlist contains states of any country.
So,when i select india from Dropdownlist1,only indian states should be available in Dropdownlist2.

How can i do it in .Net2005?
Apr 3 '08 #1
3 884
r035198x
13,262 8TB
Hi!
plz guide me that
how can i get related information from one dropdownlistbox to another.
For ex: My first Dropdownlist contains country names,second dropdownlist contains states of any country.
So,when i select india from Dropdownlist1,only indian states should be available in Dropdownlist2.

How can i do it in .Net2005?
Is it a web application? Do both the countries and cities come from a database?
Apr 3 '08 #2
Hi!
It is web application using c#.net as language support. and
datasourse for dropdownlistbox2 is nothing but dropdownlistbox1.
iam not using any database for this small application.
Apr 3 '08 #3
r035198x
13,262 8TB
Hi!
It is web application using c#.net as language support. and
datasourse for dropdownlistbox2 is nothing but dropdownlistbox1.
iam not using any database for this small application.
Where are you getting the list of countries and cities from then?
Apr 3 '08 #4

Sign in to post your reply or Sign up for a free account.

Similar topics

7
by: Sonny | last post by:
I need to port a library that is written entirely in C to C++. The library is supported on quite a few platforms (windows, Solaris, Linux, AIX, HP-UX, OSX, etc...) and there's quite an existing...
7
by: Juris Krumins | last post by:
I have a problem with postgresql tables. periodicaly, I would say frequently about 5-10 time per hour i have such errors in my server log file: 2004-04-14 12:23:32 ERROR: cache lookup of...
0
by: Alex | last post by:
my app was working fine in VB.NET 2003 (and framework 1.1). Now with VB.NET 2005 (framework 2.0) the uploading to an http server (ie. www.sharebigfile.com) stops with the error "The request was...
11
by: A.M-SG | last post by:
Hi, I understand that be default VS2005 uses the ASP.NET development server to run and test ASP.NET applications. Is it possible that we use IIS for ASP.NET application debugging in new IDE...
0
by: Julian | last post by:
I upgraded this program from VC6 to .NET2003 a few months back. I had to change some of the source code, but I was finally able to get it to compile and link properly. I just tried to upgrade...
2
by: Eric Effer | last post by:
Hi I am a vb.net 2005 newbie, I am trying to get a sample of two dropdownlistboxes which are connected in a master detail way. Suppose I have a company ddl then when i select a company i want...
0
by: anupamak | last post by:
Hello everybody, I have gone through lot many articles regarding the SOAP in webServices. I did many applications in the windows service in .net2005. Now my new requirement is to create a new...
2
by: =?Utf-8?B?TWFyYyBBbGxhcmQ=?= | last post by:
Hello, I have posted this message in the normal newsgroup instead of posting it in the managed ones. I have a project in VB6 (GDI+) that will read a WMF File (created by my customer) and then...
2
mafaisal
by: mafaisal | last post by:
Hello Experts I am Using vb.net2005 How To Know a File or Folde is Exist in Specific Folder Using vb.net2005 eg : test.txt this file is exist in D:\Faisal Hw to check this Faisal
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

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.