Datagrid with two comboboxes

  • Thread starter Thread starter Marius Trælnes
  • Start date Start date
M

Marius Trælnes

Hello!

I have a datagrid and in that I have two comboboxes, 1 is category and 2 is
subcategory. I only want to show the
sub categories for the selected category. (As in: when category A selected
only show subcat A1, A2 and A3 and
when category B selected only show subcat B1, B2, B3 and B4 in the other
subcategory).
Do you know of any sample demonstrating this? In datagrid i cannot find any
samples of this, i've looked everywhere,
newsgroups, syncfusion etc etc.

Regards,
Marius Traelnes
 
Basically, you should be able to do this with a dataset relation.

Lets say you have two tables in your dataset, Master / Slave. You need to
bind the first combo to the Master, then set up a relation ( Master/Slave )
in the Dataset, and make your second combobox bind to the relation, this
"should" work. I have done this with dataGrids, but not with Combo Box's

If this doesent work, then try the ADONET newsgroup.

Regards OHM
 
Back
Top