Hi,
this is the definition from the msdn for the getChanges method
Gets a copy of the DataSet that contains all changes made to it since it was loaded or since AcceptChanges was last called.
Basically, it is fullfilled with only the changes that were done in the DataSet, in your case, where the RowState property of the columns is Added., so you can not get a DataReader from a Table using this method.
Then, remember that a DataReader is a connected object, so it needs a connection for working. so, you can not convert something is disconnected like a dataset and its datatables in a connected object.
What do you want to do
Best Regards
|