Hi!
I have two SqlDataSources (say SQLDS_1 and SQLDS_2). SQLDS_1 has a ConnectionString to an Oracle DB and SQLDS_2 to a MSSQL DB and I have a DDL and a Detailsview both using SQLDS_1 as its DataSource.
Now, what I want to do is to filter some field that is common to a table in both Databases (e.g field 'userID' in a table called 'users' on both DBs).
I'm doing this because the Oracle DB has more than 5,000 rows while the MSSQL DB has only about 200 and I need info for those users that is present only on the Oracle DB.
How can I accomplish this? Can I call different Databases (with different ProvideNames) in one single SqlDataSource? Or is there a way to compare the queried data from both SqlDatasources?
By the way, I ‘m using VS2005 and VB language (but you can post C# code if you want).
I would really appreciate any help or advice provided.
Regards.
I have two SqlDataSources (say SQLDS_1 and SQLDS_2). SQLDS_1 has a ConnectionString to an Oracle DB and SQLDS_2 to a MSSQL DB and I have a DDL and a Detailsview both using SQLDS_1 as its DataSource.
Now, what I want to do is to filter some field that is common to a table in both Databases (e.g field 'userID' in a table called 'users' on both DBs).
I'm doing this because the Oracle DB has more than 5,000 rows while the MSSQL DB has only about 200 and I need info for those users that is present only on the Oracle DB.
How can I accomplish this? Can I call different Databases (with different ProvideNames) in one single SqlDataSource? Or is there a way to compare the queried data from both SqlDatasources?
By the way, I ‘m using VS2005 and VB language (but you can post C# code if you want).
I would really appreciate any help or advice provided.
Regards.