Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to know which columns changed
Message
From
13/05/2010 17:28:58
Timothy Bryan
Sharpline Consultants
Conroe, Texas, United States
 
 
To
All
General information
Forum:
ASP.NET
Category:
ADO.NET
Title:
How to know which columns changed
Environment versions
Environment:
C# 3.0
Miscellaneous
Thread ID:
01464500
Message ID:
01464500
Views:
111
If I want to log all the changes that are made to a row in the dataset before it is saved, is there a way to know which columns changed within the changed rows?

If I start with a DataTable that is to be saved, I can get the rows that have changes with GetChanges() but then looping through those, is there a way to tell which columns were changed?

Alternatively, is there a way to take a snapshot of a DataSet easily for comparison later?
Thanks
Tim
Timothy Bryan
Next
Reply
Map
View

Click here to load this message in the networking platform