We help IT Professionals succeed at work.
Get Started

populating a dataset/datatable from another dataset

Amar_Hussain asked
Last Modified: 2013-12-16
Hi Experts,
Ive been looking for a quite a while but i cant seem to find a way to populate a dataset/datatable from another dataset/datatable using a select query.

I have multiple datachild objects which each have a dataset object and a select query with different where clauses. i have previously imported the master dataset into a main form. the database which the master dataset was filled with will not be available once the the data has been imported (hence the need to query the dataset).

i would like to fill each of the datachild object datasets using the select query (saved as a string) using the master dataset as the main datasource. Im thinking this would be easy but for the life of me cannot find any information anywhere on how to do this.
Any help would be appreciated.

Watch Question
This problem has been solved!
Unlock 2 Answers and 10 Comments.
See Answers
Why Experts Exchange?

Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.

Jim Murphy
Programmer at Smart IT Solutions

When asked, what has been your best career decision?

Deciding to stick with EE.

Mohamed Asif
Technical Department Head

Being involved with EE helped me to grow personally and professionally.

Carl Webster
CTP, Sr Infrastructure Consultant
Ask ANY Question

Connect with Certified Experts to gain insight and support on specific technology challenges including:

  • Troubleshooting
  • Research
  • Professional Opinions
Did You Know?

We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE