cascade dropdownbox?

S

SF

Hi
I am new with VB.NET 2005. I am looking for a way to cascade 3 comboxboxes
contain provinces, districts and communes. I know that in MS Access but
VB.NET i ma stuck after create a form and putting 3 comboboxes. I did
however create a dataset for each combobox. Could someone advice, an example
would be great?

SF
 
R

rowe_newsgroups

Hi
I am new with VB.NET 2005. I am looking for a way to cascade 3 comboxboxes
contain provinces, districts and communes. I know that in MS Access but
VB.NET i ma stuck after create a form and putting 3 comboboxes. I did
however create a dataset for each combobox. Could someone advice, an example
would be great?

SF

I would do it through code in the back end that fired on the
selectedindexchanged event. Basically, the district and communes
should be filtered based on what was selected previously, so you can
just pass parameters to the tableadapter's select method that populate
the other comboboxes.

Thanks,

Seth Rowe [MVP]
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top