G
gibster
Hi
I'm looking for some help comparing 2 datasets,
each dataset has 2 datatables;
the first table's rows consist of
text
status (1 or 0)
GUID
The GUID and the text will always be in sync in each version of the
dataset, but the status could be different.
The second table in each dataset contains a list of GUID's that have
been deleted.
What I want to do is match each GUID and check if the status in either
version of the table has changed to 1, if so use this value in the
merged dataset, then check if either dataset has a new rows (based on
GUID) and add them to the merged dataset, and finally check both the
removed GUIDs lists and remove any rows that have these GUIDS in the
merged datatable.
I'm fairly new to c# and .net and i'm struggling with this, so any help
would be appreciated.
Thanks in advance
Charlie
I'm looking for some help comparing 2 datasets,
each dataset has 2 datatables;
the first table's rows consist of
text
status (1 or 0)
GUID
The GUID and the text will always be in sync in each version of the
dataset, but the status could be different.
The second table in each dataset contains a list of GUID's that have
been deleted.
What I want to do is match each GUID and check if the status in either
version of the table has changed to 1, if so use this value in the
merged dataset, then check if either dataset has a new rows (based on
GUID) and add them to the merged dataset, and finally check both the
removed GUIDs lists and remove any rows that have these GUIDS in the
merged datatable.
I'm fairly new to c# and .net and i'm struggling with this, so any help
would be appreciated.
Thanks in advance
Charlie