Does anybody know the best way to pull data from two different data sources (i.e. Access & SQL Server) and then merge the data together.
I've successfully done this by connecting to the Access database, pull the necessary information over and store it into a DataTable. I then did the same thing for the SQL Server database, and then add both DataTables into a Dataset.
I then used the DataRelation object to link the two together via a related field to show the related records.
Even though this is working, I was wondering if I'm making things too complicated. If this is not the most efficient way, can somebody tell me what is?
Thanks in advance.
-lucyv
I've successfully done this by connecting to the Access database, pull the necessary information over and store it into a DataTable. I then did the same thing for the SQL Server database, and then add both DataTables into a Dataset.
I then used the DataRelation object to link the two together via a related field to show the related records.
Even though this is working, I was wondering if I'm making things too complicated. If this is not the most efficient way, can somebody tell me what is?
Thanks in advance.
-lucyv