G
Guest
I have a DataTable with three columns "UniqueID", "A" and "B".
Rather than pass updates like:
<DataTable UniqueID=1 A="data.." B="data.."/>
The application gets XML from a 3rd party and they want to economically send
data packets over the network like so:
<DataTable UniqueID=1 A="data.."/>
<DataTable UniqueID=13 B="data.."/>
Where only the changes are sent. Fair enough. But, the problem is that
when I read that string into a table, if I am missing a column (line 1 is
missing column B and line 2 is missing column A) and I do a merge update, the
missing columns wipes out the current values in the merged dataset. What I
want to do is update only the values that were passed - not wipe out data
because it WASN'T passed)
Any ideas?
Rather than pass updates like:
<DataTable UniqueID=1 A="data.." B="data.."/>
The application gets XML from a 3rd party and they want to economically send
data packets over the network like so:
<DataTable UniqueID=1 A="data.."/>
<DataTable UniqueID=13 B="data.."/>
Where only the changes are sent. Fair enough. But, the problem is that
when I read that string into a table, if I am missing a column (line 1 is
missing column B and line 2 is missing column A) and I do a merge update, the
missing columns wipes out the current values in the merged dataset. What I
want to do is update only the values that were passed - not wipe out data
because it WASN'T passed)
Any ideas?