-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: Kishor
Message 2 in Discussion

Hi
I am assuming u r having two combos on one form on formload event populate
contry combox..... for selecting default value for the country add this
statement cbocountry.SelectedValue = whateverUrDefaultID. on
SelectedIndexChanged event of country..populate the city combo and assign
default value to it.

Kishor





-----Original Message-----
From: limson [mailto:[EMAIL PROTECTED]
Sent: Friday, July 18, 2003 12:24 PM
To: MumbaiUserGroup
Subject: double drop down in combobox vb.net windows application


-----------------------------------------------------------

New Message on MumbaiUserGroup

-----------------------------------------------------------
From: limson
Message 1 in Discussion

hi guys          i am working on vb.net window's application .
application has a form in which i want to show name of the country in one
combobox and it's city in another.           i want a default selected
country and it's city as per the id inserted by the user. that i have done
using oledbdataadapter on form load event.          After that when user
click on combobox1 list of all country must appear and when he select any
one country name  that selected countries city should be shown on the second
combobox2.         my access database have two tables first table(client)
with column (id,name,countryid) second table(countries)with
column(countryid,country,city)   anybody with any help will be appreciated
thanks in advance limson

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your
E-mail Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On
the pre-addressed e-mail message that opens, simply click "Send". Your
e-mail address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]



-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/mumbaiusergroup/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to