Print Page | Close Window

2 Combos

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce Classic
Forum Discription: For .NET 2.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=312
Printed Date: 17-Apr-2026 at 9:57am


Topic: 2 Combos
Posted By: Darren
Subject: 2 Combos
Date Posted: 18-Jul-2007 at 3:49am
I have 2 combos on my form.
 
the first combo is the cities combo which is populated from the mCity Entitylist. I then pass the entitylit to a BindingSource called bsCity and set the display member and listsource properties accordingly.
 
the second combo is the country combo which is populated from the mCountry Entitylist.I then pass the entitylit to a BindingSource called bsCountry and set the display member and listsource properties accordingly.
 
These 2 business objects are related by countryid.
 
What i want to have happen is when the user selects the city, i then want the correct country to be selected automatically.
 
Can i do this from the ControlBindingManager?
 
 
 



Print Page | Close Window