AcceptChanges & RowError

W

Wayne Godfrey

The .NET Framework Developer's Guide states in it's discussion of the
AcceptChanges and RejectChanges methods that "Accepting or rejecting changes
clears out any RowError information and sets the HasErrors property to
false. "

I don't see that particular behavior.

I have a dataset that contains rows with errors, i.e. their HasErrors
property is True and the RowError property contains text. Calling
AcceptChanges or RejectChanges at either the row level or the dataset level
results in the proper handling of the row version information (current to
original or vice-versa), but the RowError and HasErrors properties are NOT
cleared and set to false respectively.

Is this a 1) bug in the framework (v1.1), 2) and error in the documentation,
or 3) something I'm doing wrong.

Thanks in advance!

Wayne
 
M

Miha Markic [MVP C#]

Hi Wayne,

I think that documentation is wrong on this.
AcceptChanges or RejectChanges has (obviously) no effect on RowError.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top