Click here to Skip to main content
15,888,803 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
See more:
hi..
i want to compare values of table a with another table b in different database

table a table b
col1 col2 col3 col1 col2 col3
ta1 ta2 ta3 tb1 tb2 tb3
ta4 ta5 ta6 tb4 tb5 tb6

i want to compare ta1 with tb1,ta2 with tb2
i tryd using dataset..plz help me out!!
Posted
Comments
NeonMika 21-Jun-12 7:22am    
What's wrong with using DataSets?
Create two connections to the two databases.
Run your query on both and receive 2 DataTable if I'm right.
Now you can run row for row and compare the two datasets?

Probably you want to have a look at this: http://www.codeproject.com/Articles/361579/A-Beginners-Tutorial-for-Understanding-ADO-NET

Greets, Markus

1 solution

 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900