Click here to Skip to main content
15,913,939 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
Hello, my name is nona, i wanna ask about how to compare data,
ex:
C#
system A               ||        system B

abcde|1|2000           ||        abcde|1|2000
abcdr|2|4000           ||        abcdr|2|4000


so, if we have a same data , there is a validate, but if we dont have a same data, we can show in the form if "data is not validate"

using sql server and asp.net
how the source code in asp.net ?

Thank you
Posted
Updated 18-Aug-13 18:09pm
v2
Comments
Sergey Alexandrovich Kryukov 19-Aug-13 0:20am    
Wow! Amazingly vague post. What "systems"? what's the problem?
—SA
nona12com 19-Aug-13 1:06am    
hhahaha system means database . I was wrong wrote.
the value of database must be same.

core of my question is : how code to compare database in form asp.net, so we can get a validate data Smile | :)

*validate data if data in database A = data in database B

you can use checksum feature to calculate checksum of data in both databases and at the end compare checksum values.

For further details about checksum do a google search using "Checksum C#"
 
Share this answer
 
I agree with others. If you want some help or need some more details, please check out this thread:

SQL Server database compare and sync tool (free)
 
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