prinsbj
asked on
Need help with saving saving syscreator and sysmodifier on records how as been change added?
I want to add some logging code to records that has been change or added.
I've add the followings fields to my tables
Syscreator - int
Syscreated - datetime
Sysmodifier - int
Sysmodifed -datetime
How can i automatic update all records with this info if there is something added or changed.
I user vb.net and a SQL server.
On form close I check if the is something changed or added or deleted.
Hope to here from somebody!
Bart
I've add the followings fields to my tables
Syscreator - int
Syscreated - datetime
Sysmodifier - int
Sysmodifed -datetime
How can i automatic update all records with this info if there is something added or changed.
I user vb.net and a SQL server.
On form close I check if the is something changed or added or deleted.
Hope to here from somebody!
Bart
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It works great!
Thank you.
Thank you.
http://msdn.microsoft.com/en-us/library/system.data.sqlclient.sqldataadapter.rowupdating.aspx