Hello,
Is it possible in ADO.NET to populate each column of a datatable from
a different oleDBprovider. I mean, if I define a datatable with 5
columns.
First column should be populated from a sybase data source. Second
from a SQL server , third from a XML file.
Also based on the data populated in this way, I need to make 4th and
5th columns as calculated columns based on data in first three
columns.

The data for 4th column should be something like this:
Round(ColData_1,2) + (ColData_2-ColData_3)/2

Any help on this would be great..
Thanks
-Mahesha

Re: Populate each column of a datatable from a different oledbprovider by Rebecca

Rebecca
Fri Jul 11 09:41:38 CDT 2003

Probably, but if you're only retrieving a single column, how do you know
which column goes with which?

--
Rebecca Riordan, MVP

Designing Relational Database Systems
Microsoft SQL Server 2000 Programming Step by Step
Microsoft ADO.NET Step by Step

http://www.microsoft.com/mspress

Blessed are they who can laugh at themselves,
for they shall never cease to be amused...

"Mahesha" <ycmahesh@hotmail.com> wrote in message
news:3d09d707.0307101249.32b45245@posting.google.com...
> Hello,
> Is it possible in ADO.NET to populate each column of a datatable from
> a different oleDBprovider. I mean, if I define a datatable with 5
> columns.
> First column should be populated from a sybase data source. Second
> from a SQL server , third from a XML file.
> Also based on the data populated in this way, I need to make 4th and
> 5th columns as calculated columns based on data in first three
> columns.
>
> The data for 4th column should be something like this:
> Round(ColData_1,2) + (ColData_2-ColData_3)/2
>
> Any help on this would be great..
> Thanks
> -Mahesha



Re: Populate each column of a datatable from a different oledbprovider by Chayapathi

Chayapathi
Fri Jul 11 10:29:56 CDT 2003

Hi Rebecca,
The columns are related to each other based on a date field which is the
primary key and has a 1-1 mapping with each of the data source tables.
Thanks
-Mahesha



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!