Can I capture data?

vnarod

Well-known member
Joined
Mar 22, 2002
Messages
84
Can I somehow get row before update (using ExecuteNonQuery) command changes it? I need to save previous value in log table
 
If youre using a DataSet, you can get at both the original data and the changed data. Perform you action (INSERT, UPDATE, DELETE) but dont call AcceptChanges. Use the DataSet to figure out what the action was and how to log it.

-Nerseus
 
Back
Top