Question Updating one combobox based on the value of the other combobox through Binding

samir_gambler

Member
Joined
Jul 12, 2012
Messages
6
Programming Experience
1-3
I have 2 combobox. One for Category Name (whose display Member is Categories.CategoryName and Value member is Categories.CategoryID). Based on the selection made in this combobox combobox Stock Name should be updated from the stock table). And Based on the selection made in Stock name combobox form content should be updated.
Can Any one please explain me how to achieve this through binding.

Thanks
 
I'm assuming that the data is coming from a database and you are (or can) populate multiple DataTables in one DataSet. In that case, assuming that retrieving all the data up front is OK, here's how to set up your bindings to automatically filter child lists by parent selection:

Master/Detail (Parent/Child) Data-binding
 
Back
Top