You could write your own compare function. I wrote one that I cannot seem to find the source code for now, but it was basically just a series of checks...using a foreach datarow and foreach datacolumn to compare the data types. Also, just for a cursory quick check, you can check the row and column counts. If they are different then something has been added or deleted to one of the tables (of course, assuming that they were exactly the same at one point. As far as C# having a way to do this for you, I'm not sure how, but I'm sure there is something already created to do this...maybe a .equals() method.
Hope this gives a starting point.
Good luck
-Kevin
- "The truth hurts, maybe not as much as jumping on a bicycle with no seat, but it hurts.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.