Home All Groups Group Topic Archive Search About

DataSet.HasChanges question - get a collection of columns changed?

Author
3 Apr 2006 4:58 PM
Andre Ranieri
Hello,

I'm wondering if it's possible in .NET 1.1 to enumerate a list of individual
columns that are changed when a datarow has been flagged as changed.  After I
update the row back to the database, I also need the ability to write logging
information regarding which specific fields the user has changed.

Thanks in advance for any suggestions.

Andre Ranieri

Author
3 Apr 2006 5:16 PM
Marina Levit [MVP]
AFAIK, no, you cannot. You would have to go through, one by one, compare the
original and current values to see that.

Show quote
"Andre Ranieri" <AndreRani***@discussions.microsoft.com> wrote in message
news:5A25E30B-5817-4A65-822B-9F2DD4627700@microsoft.com...
> Hello,
>
> I'm wondering if it's possible in .NET 1.1 to enumerate a list of
> individual
> columns that are changed when a datarow has been flagged as changed.
> After I
> update the row back to the database, I also need the ability to write
> logging
> information regarding which specific fields the user has changed.
>
> Thanks in advance for any suggestions.
>
> Andre Ranieri

AddThis Social Bookmark Button