About DatasetTable and DateSet Question ( help us please! )

  • Thread starter Thread starter mhw
  • Start date Start date
M

mhw

When we called DataSetTable.AcceptChanges() ,it same to call
DateSet.AcceptChange()

Please tall me why?
 
DateSet.AcceptChanges() distributes this method to all of the DataRow
and DataTable objects it might be holding. If you want to apply
AcceptChanges() to all objects within a dataset and avoid writing code
for each object, just call AcceptChanges() on the DataSet.

Brett
 
I use InsertGroupByInto(DataSet.Table["TableA"]) in class of DataSetHelper.
Then I Call DataSet.Table["TableA"].AcceptChanges() ,it same to call
DataSet.AcceptChanges() .

I don't know why?
Thanks!
 
Back
Top