PC Review


Reply
Thread Tools Rate Thread

DataSet question (two different sources)

 
 
Lothar Behrens
Guest
Posts: n/a
 
      6th Apr 2011
Hi,

I have to display data from two databases as a merged (union)
datatable. One source is from MSSQL and the other is from MySQL. Doing
a regularly merging by importing both to a consolidated database is
not an option as it should be accessed live.

I have got it managed to create one dataset accessing each data source
(SQL query) in a Table adapter per query.

I have created a link table ín one of these databases to logically
relate data from A to B.

But now my question: How do I at best create a UNION like select
statement? I assume using SQL itself is not possible, as it will get
sent to the database (which), not the dataset.

Is it the best to use Linq for that and skip binding a dataset to a
grid (GUI)?

Thanks,

Lothar
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie question: query over two data sources N Ramsay Microsoft ASP .NET 4 28th Feb 2008 06:05 PM
Binding sources question in Vs2005 Bob Microsoft VB .NET 2 18th Jan 2006 03:44 PM
Question about multiple data sources c Microsoft Excel Programming 1 8th Feb 2005 04:37 AM
dataset question =?Utf-8?B?QmFybmV5?= Microsoft VB .NET 3 28th Jan 2005 08:24 AM
DataSet/XML Question Microsoft ADO .NET 0 14th Jan 2004 08:01 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 08:01 AM.