Re: On DataTable, two databases
- From: "Kevin Spencer" <unclechutney@xxxxxxxxxxxx>
- Date: Mon, 14 May 2007 06:19:27 -0400
Use a Distributed Query.
See the following articles:
http://msdn2.microsoft.com/en-us/library/aa172738(SQL.80).aspx
http://msdn2.microsoft.com/en-us/library/ms188721.aspx
--
HTH,
Kevin Spencer
Microsoft MVP
Printing Components, Email Components,
FTP Client Classes, Enhanced Data Controls, much more.
DSI PrintManager, Miradyne Component Libraries:
http://www.miradyne.net
"Steve B." <steve_beauge@xxxxxxxxxxxx> wrote in message
news:%23llsutglHHA.1244@xxxxxxxxxxxxxxxxxxxxxxx
Hi,
I'm building an ASP.Net corportate web application.
One module of the application consists of a web service that manages
users.
Due to the history of the organisation, there is several databases accross
the network and users data are unfortunatelly not stored in the same DB.
What I want to reach is to provides users informations (read only
informations) through the web service to hide the complexity of the data.
I've created a UsersDataTable (using the VS Designer) that have 8 columns.
Half of the columns are taken from the 1st DB (SQL Server) and the other
half columns are taken from the 2nd DB.
FYI, there is one nvarchar column in the two tables of the two sources
that identify uniquely the rows.
I want to keep the maximum of functionnalities of the VS designer and I'd
like (if possible) to avoid duplicating the data between the two sources.
I've thought about the linked server functionnalities between the two sql
server, but later, there's a probability that other platform will be
queried, in fact, I'd like a general neutral solution (pure ADO.Net).
What the best way to correctly handle the two sources ?
Thanks for your feedbacks.
Steve
.
- Follow-Ups:
- Re: On DataTable, two databases
- From: Steve B.
- Re: On DataTable, two databases
- References:
- On DataTable, two databases
- From: Steve B.
- On DataTable, two databases
- Prev by Date: Re: Language of a web site in ASP.NET
- Next by Date: Error when load testing web application: all pooled connections were in use or max pool size was reached
- Previous by thread: On DataTable, two databases
- Next by thread: Re: On DataTable, two databases
- Index(es):
Relevant Pages
|