All you have to do is,
1. Read the XML file in DataSet called
dataset1
.
2. Fetch data from the database into DataSet called
dataset2
.
3. Now compare the two DataSet,
dataset1
and
dataset2
. You need to use a loop and then go through each rows in each DataSet and find the difference.
If you dont know how to read a XML file into DataSet, then refer to the following links.
Example 1[
^]
Example 2[
^]