Remove a record using the ggc Record.Delete() and then calling dataset.HasChanges() returns false

After removing a record using the ggc Record.Delete() and then calling dataset.HasChanges() always returns false. Is this a ADO.Net issue or a ggc issue?

1 Reply

AD Administrator Syncfusion Team June 8, 2007 08:26 AM UTC

Here is a minimal sample showing dataSet.HasChanges to be true after calling Record.Delete.

Do you have calles to AcceptChanges in your code that might be resetting this flag? Do you see any exceptions being thrown?


WindowsApplication188.zip

Loader.
Up arrow icon