cascade dropdownbox?

  • Thread starter Thread starter SF
  • Start date Start date
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
 
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]
 
Back
Top