D
Daniel Walzenbach
Hi,
I have seen a lot of code using .GetChanges of a System.Data.DataSet like the following:
myDataSetWithChanges = myDataSet.GetChanges
myDataAdapter.Update(myDataSetWithChanges)
Does this approach make any sense? I mean that Update of the DataAdapter has to iterate through all items in a DataTable so why creating a new object and wasting resources if the same con be done without? Can anybody explain this subject to me?
Thank you in advance.
Best regards
Daniel Walzenbach
P.S. If you need to contact me simply remove ".NOSPAM" from my email address.
I have seen a lot of code using .GetChanges of a System.Data.DataSet like the following:
myDataSetWithChanges = myDataSet.GetChanges
myDataAdapter.Update(myDataSetWithChanges)
Does this approach make any sense? I mean that Update of the DataAdapter has to iterate through all items in a DataTable so why creating a new object and wasting resources if the same con be done without? Can anybody explain this subject to me?
Thank you in advance.
Best regards
Daniel Walzenbach
P.S. If you need to contact me simply remove ".NOSPAM" from my email address.