J
JohnR
I load a table into a dataset and when I click my SAVE button, I get the
changes like this:
dsChanged = ds.GetChanges()
I then parse each row in dsChanged and have found that some of the rows are
marked as 'modified' when I didn't change any values in the record. I then
created a routine that would take this row and for each field in the row it
would compare the DataRowVersion.Original to the DataRowVersion.Current
values. If they were different I would display the differences in a listbox
for me to see.
What's happening is that the listbox contains no changes, unless I really do
change a field... then my change does show.
My question is this... what would cause the dataset to set the 'modified'
flag on a record when it was not changed? I'm at a total loss as to why
this would happen. It must be something I'm doing wrong, but I can't figure
it out. Any suggestions?
John
changes like this:
dsChanged = ds.GetChanges()
I then parse each row in dsChanged and have found that some of the rows are
marked as 'modified' when I didn't change any values in the record. I then
created a routine that would take this row and for each field in the row it
would compare the DataRowVersion.Original to the DataRowVersion.Current
values. If they were different I would display the differences in a listbox
for me to see.
What's happening is that the listbox contains no changes, unless I really do
change a field... then my change does show.
My question is this... what would cause the dataset to set the 'modified'
flag on a record when it was not changed? I'm at a total loss as to why
this would happen. It must be something I'm doing wrong, but I can't figure
it out. Any suggestions?
John