Click here to Skip to main content
15,890,506 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to keep track of changes made to a gridview in a asp.net site. I currently have 2 tables in my sql database one is "client" table that is link to the gridview and the other table is to store the usernames and passwords. My goal is to keep track of any changes made to the girdview insert, delete etc and then display the records that was changed and by which user it was changed pending on the user login. Any advise on which approach to take ?
Posted
Comments
Mahesh Bailwal 27-Aug-13 11:56am    
you mean you want to track database changes made by user?
ZurdoDev 27-Aug-13 13:43pm    
If you use the DataSet class with the DataAdapater class you can see before and after changes. Then just store what you want in a new table.
thatraja 10-Sep-13 11:02am    
Please post it as an answer.

1 solution

If you use the DataSet class with the DataAdapater class you can see before and after changes. Then just store what you want in a new table.

Just search google for examples.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900