D
Dmitry Karneyev
Hi!
I've got a DataSet with tables corresponding to the database ones.
And I've got a table for my calculations and databinding in app.
To fill "my" table I use myTable.Rows.Add(...) and then edit necessary
columns.
When app closes I check dataset.HasChanges() and if it is I make an update.
But HasChanges always returns true because I've got added rows to "myTable".
How to avoid such situation? Or how to change status of "myTable" rows to
original?
Thanks!
I've got a DataSet with tables corresponding to the database ones.
And I've got a table for my calculations and databinding in app.
To fill "my" table I use myTable.Rows.Add(...) and then edit necessary
columns.
When app closes I check dataset.HasChanges() and if it is I make an update.
But HasChanges always returns true because I've got added rows to "myTable".
How to avoid such situation? Or how to change status of "myTable" rows to
original?
Thanks!