using vs 2005.
I created a dataset in the designer that fills a datatable I'm using to bind to several form controls.
I would like to create a subset of the result set and use this subset as the datasource for a drop down list.
For example, if the original datatable has a column called "company", I would like to create a list of the distinct company rows returned by the datatable.
What's the best way to do this? Can it easily be set-up in the designer?
Thanks in advance.
I created a dataset in the designer that fills a datatable I'm using to bind to several form controls.
I would like to create a subset of the result set and use this subset as the datasource for a drop down list.
For example, if the original datatable has a column called "company", I would like to create a list of the distinct company rows returned by the datatable.
What's the best way to do this? Can it easily be set-up in the designer?
Thanks in advance.